Changeset b09e0d7 in mainline
- Timestamp:
- 2020-01-09T01:04:57Z (5 years ago)
- Children:
- eaafee3
- Parents:
- 5830c7b
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2020-01-04 20:16:49)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-01-09 01:04:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/taskman/main.c
r5830c7b rb09e0d7 232 232 if (sess_ref == NULL) { 233 233 async_answer_0(icall, ENOMEM); 234 return; 234 235 } 235 236 … … 270 271 return; 271 272 } 272 } else if (ipc_get_imethod(icall) == IPC_M_CONNECT_TO_ME) {273 switch (ipc_get_arg2(icall)) {274 case TASKMAN_LOADER_CALLBACK:275 loader_callback(icall);276 return;277 default:278 DPRINTF("%s:%d from %" PRIu64 "/%" SCNuPTR "/%" SCNuPTR "/%" SCNuPTR "\n",279 __func__, __LINE__,280 icall->task_id, ipc_get_imethod(icall),281 ipc_get_arg1(icall), ipc_get_arg2(icall));282 async_answer_0(icall, ENOTSUP);283 return;284 }285 273 } 286 274 … … 308 296 taskman_ctl_ev_callback(&call); 309 297 break; 298 case IPC_M_CONNECT_TO_ME: 299 if (ipc_get_arg2(&call) == TASKMAN_LOADER_CALLBACK) { 300 loader_callback(&call); 301 break; 302 } 303 goto FALLTHROUGH_DEFAULT; 304 break; 305 FALLTHROUGH_DEFAULT: 310 306 default: 311 307 DPRINTF("%s:%d from %" PRIu64 "/%" SCNuPTR "/%" SCNuPTR "/%" SCNuPTR "\n",
Note:
See TracChangeset
for help on using the changeset viewer.