Changeset addbce4 in mainline for uspace/lib/c


Ignore:
Timestamp:
2017-12-05T16:03:20Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
40fd6f0
Parents:
9af1c61
git-author:
Jakub Jermar <jakub@…> (2017-12-05 11:59:18)
git-committer:
Jakub Jermar <jakub@…> (2017-12-05 16:03:20)
Message:

Remove IPC_CALLID_* macros

Location:
uspace/lib/c/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/async.c

    r9af1c61 raddbce4  
    13381338       
    13391339        /* Kernel notification */
    1340         if ((chandle == CAP_NIL) && (call->flags & IPC_CALLID_NOTIFICATION)) {
     1340        if ((chandle == CAP_NIL) && (call->flags & IPC_CALL_NOTIF)) {
    13411341                fibril_t *fibril = (fibril_t *) __tcb_get()->fibril_data;
    13421342                unsigned oldsw = fibril->switches;
     
    14971497                }
    14981498
    1499                 if (call.flags & IPC_CALLID_ANSWERED)
     1499                if (call.flags & IPC_CALL_ANSWERED)
    15001500                        continue;
    15011501
  • uspace/lib/c/generic/ipc.c

    r9af1c61 raddbce4  
    264264       
    265265        /* Handle received answers */
    266         if ((chandle == CAP_NIL) && (call->flags & IPC_CALLID_ANSWERED))
     266        if ((chandle == CAP_NIL) && (call->flags & IPC_CALL_ANSWERED))
    267267                handle_answer(call);
    268268       
     
    295295        do {
    296296                chandle = ipc_wait_cycle(call, usec, SYNCH_FLAGS_NONE);
    297         } while ((chandle == CAP_NIL) && (call->flags & IPC_CALLID_ANSWERED));
     297        } while ((chandle == CAP_NIL) && (call->flags & IPC_CALL_ANSWERED));
    298298       
    299299        return chandle;
     
    317317                chandle = ipc_wait_cycle(call, SYNCH_NO_TIMEOUT,
    318318                    SYNCH_FLAGS_NON_BLOCKING);
    319         } while ((chandle == CAP_NIL) && (call->flags & IPC_CALLID_ANSWERED));
     319        } while ((chandle == CAP_NIL) && (call->flags & IPC_CALL_ANSWERED));
    320320       
    321321        return chandle;
Note: See TracChangeset for help on using the changeset viewer.