Changeset 566992e1 in mainline for uspace/srv/loader/main.c
- Timestamp:
- 2015-08-22T05:01:24Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d9e68d0
- Parents:
- 57dea62
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r57dea62 r566992e1 443 443 int main(int argc, char *argv[]) 444 444 { 445 /* Set a handler of incomming connections. */446 445 async_set_fallback_port_handler(ldr_connection, NULL); 447 446 … … 452 451 return rc; 453 452 454 /* Register at naming service. */ 455 rc = service_register(SERVICE_LOAD); 453 /* Create port */ 454 port_id_t port; 455 rc = async_create_port(INTERFACE_LOADER, ldr_connection, NULL, &port); 456 456 if (rc != EOK) 457 457 return rc; 458 458 459 /* Register at naming service. */ 460 rc = service_register(SERVICE_LOADER); 461 if (rc != EOK) 462 return rc; 463 459 464 async_manager(); 460 465
Note:
See TracChangeset
for help on using the changeset viewer.