Changes in uspace/srv/ns/task.c [38d150e:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/task.c
r38d150e rb7fd2a0 151 151 static list_t pending_wait; 152 152 153 int task_init(void)153 errno_t task_init(void) 154 154 { 155 155 if (!hash_table_create(&task_hash_table, 0, 0, &task_hash_table_ops)) { … … 225 225 } 226 226 227 int ns_task_id_intro(ipc_call_t *call)227 errno_t ns_task_id_intro(ipc_call_t *call) 228 228 { 229 229 task_id_t id = MERGE_LOUP32(IPC_GET_ARG1(*call), IPC_GET_ARG2(*call)); … … 264 264 } 265 265 266 static int get_id_by_phone(sysarg_t phone_hash, task_id_t *id)266 static errno_t get_id_by_phone(sysarg_t phone_hash, task_id_t *id) 267 267 { 268 268 ht_link_t *link = hash_table_find(&phone_to_id, &phone_hash); … … 276 276 } 277 277 278 int ns_task_retval(ipc_call_t *call)278 errno_t ns_task_retval(ipc_call_t *call) 279 279 { 280 280 task_id_t id = call->in_task_id; … … 296 296 } 297 297 298 int ns_task_disconnect(ipc_call_t *call)298 errno_t ns_task_disconnect(ipc_call_t *call) 299 299 { 300 300 task_id_t id; 301 int rc = get_id_by_phone(call->in_phone_hash, &id);301 errno_t rc = get_id_by_phone(call->in_phone_hash, &id); 302 302 if (rc != EOK) 303 303 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.