Changeset 0993087 in mainline
- Timestamp:
- 2008-09-24T16:11:35Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 119c335
- Parents:
- 4470e26
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/loader.c
r4470e26 r0993087 36 36 #include <ipc/loader.h> 37 37 #include <libc.h> 38 #include <task.h> 38 39 #include <string.h> 39 40 #include <stdlib.h> … … 94 95 /* Get task ID. */ 95 96 req = async_send_0(ldr->phone_id, LOADER_GET_TASKID, &answer); 96 rc = ipc_data_read_start(ldr->phone_id, task_id, sizeof(task_id ));97 rc = ipc_data_read_start(ldr->phone_id, task_id, sizeof(task_id_t)); 97 98 if (rc != EOK) { 98 99 async_wait_for(req, NULL); -
uspace/lib/libc/include/loader/loader.h
r4470e26 r0993087 37 37 #define LIBC_LOADER_H_ 38 38 39 #include <task.h> 40 39 41 /** Abstraction of a loader connection */ 40 42 typedef struct { -
uspace/srv/loader/main.c
r4470e26 r0993087 101 101 if (len > sizeof(task_id)) len = sizeof(task_id); 102 102 103 ipc_data_ write_finalize(callid, &task_id, len);103 ipc_data_read_finalize(callid, &task_id, len); 104 104 ipc_answer_0(rid, EOK); 105 105 }
Note:
See TracChangeset
for help on using the changeset viewer.