Changes in uspace/lib/c/generic/task.c [dd8d5a7:0485135] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
rdd8d5a7 r0485135 47 47 task_id_t task_get_id(void) 48 48 { 49 #ifdef __32_BITS__50 49 task_id_t task_id; 51 50 (void) __SYSCALL1(SYS_TASK_GET_ID, (sysarg_t) &task_id); 52 51 53 52 return task_id; 54 #endif /* __32_BITS__ */55 56 #ifdef __64_BITS__57 return (task_id_t) __SYSCALL0(SYS_TASK_GET_ID);58 #endif /* __64_BITS__ */59 53 } 60 54 … … 217 211 int task_wait(task_id_t id, task_exit_t *texit, int *retval) 218 212 { 219 sysarg_t te, rv;213 ipcarg_t te, rv; 220 214 int rc; 221 215
Note:
See TracChangeset
for help on using the changeset viewer.