Changeset ab87db5 in mainline for uspace/srv/ns/ns.c
- Timestamp:
- 2019-02-23T17:16:01Z (5 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/ns.c
rbc417660 rab87db5 55 55 service_t service; 56 56 57 iface = IPC_GET_ARG1(*icall);58 service = IPC_GET_ARG2(*icall);57 iface = ipc_get_arg1(icall); 58 service = ipc_get_arg2(icall); 59 59 if (service != 0) { 60 60 /* … … 76 76 77 77 async_get_call(&call); 78 if (! IPC_GET_IMETHOD(call))78 if (!ipc_get_imethod(&call)) 79 79 break; 80 80 … … 84 84 service_t service; 85 85 86 switch ( IPC_GET_IMETHOD(call)) {86 switch (ipc_get_imethod(&call)) { 87 87 case NS_REGISTER: 88 service = IPC_GET_ARG1(call);89 iface = IPC_GET_ARG2(call);88 service = ipc_get_arg1(&call); 89 iface = ipc_get_arg2(&call); 90 90 91 91 /* … … 101 101 break; 102 102 case NS_REGISTER_BROKER: 103 service = IPC_GET_ARG1(call);103 service = ipc_get_arg1(&call); 104 104 retval = ns_service_register_broker(service); 105 105 break; … … 109 109 case NS_TASK_WAIT: 110 110 id = (task_id_t) 111 MERGE_LOUP32( IPC_GET_ARG1(call), IPC_GET_ARG2(call));111 MERGE_LOUP32(ipc_get_arg1(&call), ipc_get_arg2(&call)); 112 112 wait_for_task(id, &call); 113 113 continue; … … 120 120 default: 121 121 printf("%s: Method not supported (%" PRIun ")\n", 122 NAME, IPC_GET_IMETHOD(call));122 NAME, ipc_get_imethod(&call)); 123 123 retval = ENOTSUP; 124 124 break;
Note:
See TracChangeset
for help on using the changeset viewer.