Changes in uspace/lib/c/generic/loader.c [96b02eb9:6e84dc3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/loader.c
r96b02eb9 r6e84dc3 33 33 */ 34 34 35 #include <ipc/ipc.h>36 35 #include <ipc/loader.h> 37 36 #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 = ipc_connect_me_to_blocking(PHONE_NS,SERVICE_LOAD, 0, 0);65 int phone_id = service_connect_blocking(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); 162 163 async_wait_for(req, NULL); 163 164 return rc; … … 319 320 return rc; 320 321 321 ipc_hangup(ldr->phone_id);322 async_hangup(ldr->phone_id); 322 323 ldr->phone_id = 0; 323 324 return EOK; … … 337 338 void loader_abort(loader_t *ldr) 338 339 { 339 ipc_hangup(ldr->phone_id);340 async_hangup(ldr->phone_id); 340 341 ldr->phone_id = 0; 341 342 }
Note:
See TracChangeset
for help on using the changeset viewer.