Changeset ab87db5 in mainline for uspace/srv/vfs/vfs_lookup.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 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/srv/vfs/vfs_lookup.c

    rbc417660 rab87db5  
    226226
    227227        unsigned last = *pfirst + *plen;
    228         *pfirst = IPC_GET_ARG3(answer) & 0xffff;
     228        *pfirst = ipc_get_arg3(&answer) & 0xffff;
    229229        *plen = last - *pfirst;
    230230
    231         result->triplet.fs_handle = (fs_handle_t) IPC_GET_ARG1(answer);
     231        result->triplet.fs_handle = (fs_handle_t) ipc_get_arg1(&answer);
    232232        result->triplet.service_id = base->service_id;
    233         result->triplet.index = (fs_index_t) IPC_GET_ARG2(answer);
    234         result->size = MERGE_LOUP32(IPC_GET_ARG4(answer), IPC_GET_ARG5(answer));
    235         result->type = (IPC_GET_ARG3(answer) >> 16) ?
     233        result->triplet.index = (fs_index_t) ipc_get_arg2(&answer);
     234        result->size = MERGE_LOUP32(ipc_get_arg4(&answer), ipc_get_arg5(&answer));
     235        result->type = (ipc_get_arg3(&answer) >> 16) ?
    236236            VFS_NODE_DIRECTORY : VFS_NODE_FILE;
    237237        return EOK;
Note: See TracChangeset for help on using the changeset viewer.