Changes in uspace/srv/loader/main.c [3e6a98c5:6afc9d7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r3e6a98c5 r6afc9d7 249 249 } 250 250 async_state_change_finalize(callid, vfs_exch); 251 fd = fd_wait();251 fd = vfs_fd_wait(); 252 252 assert(fd == (int) filc); 253 253 } … … 443 443 int main(int argc, char *argv[]) 444 444 { 445 /* Set a handler of incomming connections. */ 446 async_set_client_connection(ldr_connection); 445 async_set_fallback_port_handler(ldr_connection, NULL); 447 446 448 447 /* Introduce this task to the NS (give it our task ID). */ … … 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.