Changeset 9b1baac in mainline for uspace/srv/loader/main.c
- Timestamp:
- 2018-07-18T08:35:42Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b05082
- Parents:
- edc64c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
redc64c0 r9b1baac 399 399 int main(int argc, char *argv[]) 400 400 { 401 async_set_fallback_port_handler(ldr_connection, NULL);402 403 401 /* Introduce this task to the NS (give it our task ID). */ 404 402 task_id_t id = task_get_id(); … … 407 405 return rc; 408 406 409 /* Create port*/410 port_id_t port;411 rc = async_create_port(INTERFACE_LOADER, ldr_connection, NULL, &port);407 /* Register at naming service. */ 408 rc = service_register(SERVICE_LOADER, INTERFACE_LOADER, 409 ldr_connection, NULL); 412 410 if (rc != EOK) 413 411 return rc; 414 412 415 /* Register at naming service. */416 rc = service_register(SERVICE_LOADER);417 if (rc != EOK)418 return rc;419 420 413 async_manager(); 421 414
Note:
See TracChangeset
for help on using the changeset viewer.