Changeset ab87db5 in mainline for uspace/lib/c/generic/bd_srv.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (6 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

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

    rbc417660 rab87db5  
    5151        errno_t rc;
    5252
    53         ba = MERGE_LOUP32(IPC_GET_ARG1(*call), IPC_GET_ARG2(*call));
    54         cnt = IPC_GET_ARG3(*call);
     53        ba = MERGE_LOUP32(ipc_get_arg1(call), ipc_get_arg2(call));
     54        cnt = ipc_get_arg3(call);
    5555
    5656        ipc_call_t rcall;
     
    9595        errno_t rc;
    9696
    97         session = IPC_GET_ARG1(*call);
     97        session = ipc_get_arg1(call);
    9898
    9999        ipc_call_t rcall;
     
    137137        errno_t rc;
    138138
    139         ba = MERGE_LOUP32(IPC_GET_ARG1(*call), IPC_GET_ARG2(*call));
    140         cnt = IPC_GET_ARG3(*call);
     139        ba = MERGE_LOUP32(ipc_get_arg1(call), ipc_get_arg2(call));
     140        cnt = ipc_get_arg3(call);
    141141
    142142        if (srv->srvs->ops->sync_cache == NULL) {
     
    157157        errno_t rc;
    158158
    159         ba = MERGE_LOUP32(IPC_GET_ARG1(*call), IPC_GET_ARG2(*call));
    160         cnt = IPC_GET_ARG3(*call);
     159        ba = MERGE_LOUP32(ipc_get_arg1(call), ipc_get_arg2(call));
     160        cnt = ipc_get_arg3(call);
    161161
    162162        rc = async_data_write_accept(&data, false, 0, 0, 0, &size);
     
    247247                ipc_call_t call;
    248248                async_get_call(&call);
    249                 sysarg_t method = IPC_GET_IMETHOD(call);
     249                sysarg_t method = ipc_get_imethod(&call);
    250250
    251251                if (!method) {
Note: See TracChangeset for help on using the changeset viewer.