Rev 3190 | Rev 3210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3190 | Rev 3203 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | */ |
36 | */ |
| 37 | 37 | ||
| 38 | #include <syscall/syscall.h> |
38 | #include <syscall/syscall.h> |
| 39 | #include <proc/thread.h> |
39 | #include <proc/thread.h> |
| 40 | #include <proc/task.h> |
40 | #include <proc/task.h> |
| - | 41 | #include <proc/program.h> |
|
| 41 | #include <mm/as.h> |
42 | #include <mm/as.h> |
| 42 | #include <print.h> |
43 | #include <print.h> |
| 43 | #include <putchar.h> |
44 | #include <putchar.h> |
| 44 | #include <errno.h> |
45 | #include <errno.h> |
| 45 | #include <arch.h> |
46 | #include <arch.h> |
| Line 128... | Line 129... | ||
| 128 | (syshandler_t) sys_thread_create, |
129 | (syshandler_t) sys_thread_create, |
| 129 | (syshandler_t) sys_thread_exit, |
130 | (syshandler_t) sys_thread_exit, |
| 130 | (syshandler_t) sys_thread_get_id, |
131 | (syshandler_t) sys_thread_get_id, |
| 131 | 132 | ||
| 132 | (syshandler_t) sys_task_get_id, |
133 | (syshandler_t) sys_task_get_id, |
| 133 | (syshandler_t) sys_task_spawn_loader, |
134 | (syshandler_t) sys_program_spawn_loader, |
| 134 | 135 | ||
| 135 | /* Synchronization related syscalls. */ |
136 | /* Synchronization related syscalls. */ |
| 136 | (syshandler_t) sys_futex_sleep_timeout, |
137 | (syshandler_t) sys_futex_sleep_timeout, |
| 137 | (syshandler_t) sys_futex_wakeup, |
138 | (syshandler_t) sys_futex_wakeup, |
| 138 | 139 | ||