Changeset ff381a7 in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2015-11-02T20:54:19Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    r3feeab2 rff381a7  
    249249                }
    250250                async_state_change_finalize(callid, vfs_exch);
    251                 fd = fd_wait();
     251                fd = vfs_fd_wait();
    252252                assert(fd == (int) filc);
    253253        }
     
    443443int main(int argc, char *argv[])
    444444{
    445         /* Set a handler of incomming connections. */
    446         async_set_client_connection(ldr_connection);
     445        async_set_fallback_port_handler(ldr_connection, NULL);
    447446       
    448447        /* Introduce this task to the NS (give it our task ID). */
     
    452451                return rc;
    453452       
    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);
    456456        if (rc != EOK)
    457457                return rc;
    458458       
     459        /* Register at naming service. */
     460        rc = service_register(SERVICE_LOADER);
     461        if (rc != EOK)
     462                return rc;
     463       
    459464        async_manager();
    460465       
Note: See TracChangeset for help on using the changeset viewer.