Changeset ff381a7 in mainline for uspace/srv/loader/main.c
- Timestamp:
- 2015-11-02T20:54:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8513177
- Parents:
- 3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
r3feeab2 rff381a7 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.