Changeset eb13ef8 in mainline for uspace/srv/ns
- Timestamp:
- 2019-02-06T13:25:12Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fafb8e5
- Parents:
- bb97118
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:04:02)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
- Location:
- uspace/srv/ns
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/clonable.c
rbb97118 reb13ef8 95 95 async_exch_t *exch = async_exchange_begin(sess); 96 96 async_forward_1(&csr->call, exch, csr->iface, 97 IPC_GET_ARG3( csr->call), IPC_FF_NONE);97 IPC_GET_ARG3(&csr->call), IPC_FF_NONE); 98 98 async_exchange_end(exch); 99 99 -
uspace/srv/ns/ns.c
rbb97118 reb13ef8 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; -
uspace/srv/ns/service.c
rbb97118 reb13ef8 154 154 { 155 155 async_exch_t *exch = async_exchange_begin(sess); 156 async_forward_1(call, exch, iface, IPC_GET_ARG3( *call), IPC_FF_NONE);156 async_forward_1(call, exch, iface, IPC_GET_ARG3(call), IPC_FF_NONE); 157 157 async_exchange_end(exch); 158 158 } … … 366 366 void ns_service_forward(service_t service, iface_t iface, ipc_call_t *call) 367 367 { 368 sysarg_t flags = IPC_GET_ARG4( *call);368 sysarg_t flags = IPC_GET_ARG4(call); 369 369 errno_t retval; 370 370 -
uspace/srv/ns/task.c
rbb97118 reb13ef8 225 225 errno_t ns_task_id_intro(ipc_call_t *call) 226 226 { 227 task_id_t id = MERGE_LOUP32(IPC_GET_ARG1( *call), IPC_GET_ARG2(*call));227 task_id_t id = MERGE_LOUP32(IPC_GET_ARG1(call), IPC_GET_ARG2(call)); 228 228 229 229 ht_link_t *link = hash_table_find(&phone_to_id, &call->request_label); … … 289 289 ht->finished = true; 290 290 ht->have_rval = true; 291 ht->retval = IPC_GET_ARG1( *call);291 ht->retval = IPC_GET_ARG1(call); 292 292 293 293 process_pending_wait();
Note:
See TracChangeset
for help on using the changeset viewer.