Changes in uspace/lib/c/generic/loader.c [6e84dc3:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loader.c
r6e84dc3 r96b02eb9 33 33 */ 34 34 35 #include <ipc/ipc.h> 35 36 #include <ipc/loader.h> 36 37 #include <ipc/services.h> 37 #include <ipc/ns.h>38 38 #include <libc.h> 39 39 #include <task.h> … … 63 63 loader_t *loader_connect(void) 64 64 { 65 int phone_id = service_connect_blocking(SERVICE_LOAD, 0, 0);65 int phone_id = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_LOAD, 0, 0); 66 66 if (phone_id < 0) 67 67 return NULL; … … 160 160 int rc = async_data_write_start(ldr->phone_id, (void *) pa, pa_len); 161 161 if (rc != EOK) { 162 free(pa);163 162 async_wait_for(req, NULL); 164 163 return rc; … … 320 319 return rc; 321 320 322 async_hangup(ldr->phone_id);321 ipc_hangup(ldr->phone_id); 323 322 ldr->phone_id = 0; 324 323 return EOK; … … 338 337 void loader_abort(loader_t *ldr) 339 338 { 340 async_hangup(ldr->phone_id);339 ipc_hangup(ldr->phone_id); 341 340 ldr->phone_id = 0; 342 341 }
Note:
See TracChangeset
for help on using the changeset viewer.