Changes in uspace/lib/net/il/il_skel.c [79ae36dd:6b82009] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/il_skel.c
r79ae36dd r6b82009 38 38 #include <bool.h> 39 39 #include <errno.h> 40 #include <ns.h> 40 41 #include <il_skel.h> 41 42 #include <net_interface.h> 42 43 #include <net/modules.h> 43 44 // FIXME: remove this header45 #include <kernel/ipc/ipc_methods.h>46 44 47 45 /** Default thread for new connections. … … 51 49 * 52 50 */ 53 static void il_client_connection(ipc_callid_t iid, ipc_call_t *icall) 51 static void il_client_connection(ipc_callid_t iid, ipc_call_t *icall, 52 void *arg) 54 53 { 55 54 /* … … 98 97 * @return Other error codes as defined for the il_initialize() 99 98 * function. 100 * @return Other error codes as defined for the REGISTER_ME() macro101 * function.102 99 * 103 100 */ 104 int il_module_start( int service)101 int il_module_start(sysarg_t service) 105 102 { 106 103 async_set_client_connection(il_client_connection); 107 int net_phone= net_connect_module();108 if ( net_phone < 0)109 return net_phone;104 async_sess_t *sess = net_connect_module(); 105 if (!sess) 106 return ENOENT; 110 107 111 108 int rc = pm_init(); … … 113 110 return rc; 114 111 115 rc = il_initialize( net_phone);112 rc = il_initialize(sess); 116 113 if (rc != EOK) 117 114 goto out; 118 115 119 rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL);116 rc = service_register(service); 120 117 if (rc != EOK) 121 118 goto out;
Note:
See TracChangeset
for help on using the changeset viewer.