Changeset 566992e1 in mainline for uspace/srv
- Timestamp:
- 2015-08-22T05:01:24Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d9e68d0
- Parents:
- 57dea62
- Location:
- uspace/srv
- Files:
-
- 2 edited
-
loader/main.c (modified) (2 diffs)
-
ns/clonable.c (modified) (3 diffs)
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 -
uspace/srv/ns/clonable.c
r57dea62 r566992e1 64 64 bool service_clonable(service_t service) 65 65 { 66 return (service == SERVICE_LOAD );66 return (service == SERVICE_LOADER); 67 67 } 68 68 … … 89 89 90 90 /* Currently we can only handle a single type of clonable service. */ 91 assert(csr->service == SERVICE_LOAD );91 assert(csr->service == SERVICE_LOADER); 92 92 93 93 ipc_answer_0(callid, EOK); … … 113 113 ipc_callid_t callid) 114 114 { 115 assert(service == SERVICE_LOAD );115 assert(service == SERVICE_LOADER); 116 116 117 117 cs_req_t *csr = malloc(sizeof(cs_req_t));
Note:
See TracChangeset
for help on using the changeset viewer.
