Rev 1175 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1175 | Rev 1228 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #include <task.h> |
29 | #include <task.h> |
30 | #include <libc.h> |
30 | #include <libc.h> |
31 | 31 | ||
32 | task_id_t get_task_id(void) |
32 | task_id_t task_get_id(void) |
33 | { |
33 | { |
34 | task_id_t task_id; |
34 | task_id_t task_id; |
35 | 35 | ||
36 | (void) __SYSCALL1(SYS_GET_TASK_ID, (sysarg_t) &task_id); |
36 | (void) __SYSCALL1(SYS_TASK_GET_ID, (sysarg_t) &task_id); |
37 | 37 | ||
38 | return task_id; |
38 | return task_id; |
39 | } |
39 | } |