Rev 1112 | Rev 1176 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1112 | Rev 1118 | ||
|---|---|---|---|
| Line 26... | Line 26... | ||
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | #include <syscall/syscall.h> |
29 | #include <syscall/syscall.h> |
| 30 | #include <proc/thread.h> |
30 | #include <proc/thread.h> |
| - | 31 | #include <proc/task.h> |
|
| 31 | #include <mm/as.h> |
32 | #include <mm/as.h> |
| 32 | #include <print.h> |
33 | #include <print.h> |
| 33 | #include <putchar.h> |
34 | #include <putchar.h> |
| 34 | #include <errno.h> |
35 | #include <errno.h> |
| 35 | #include <proc/task.h> |
- | |
| 36 | #include <arch.h> |
36 | #include <arch.h> |
| 37 | #include <debug.h> |
37 | #include <debug.h> |
| 38 | #include <ipc/sysipc.h> |
38 | #include <ipc/sysipc.h> |
| 39 | #include <synch/futex.h> |
39 | #include <synch/futex.h> |
| 40 | 40 | ||
| Line 76... | Line 76... | ||
| 76 | syshandler_t syscall_table[SYSCALL_END] = { |
76 | syshandler_t syscall_table[SYSCALL_END] = { |
| 77 | sys_io, |
77 | sys_io, |
| 78 | sys_tls_set, |
78 | sys_tls_set, |
| 79 | sys_thread_create, |
79 | sys_thread_create, |
| 80 | sys_thread_exit, |
80 | sys_thread_exit, |
| 81 | sys_futex_sleep, |
81 | sys_futex_sleep_timeout, |
| 82 | sys_futex_wakeup, |
82 | sys_futex_wakeup, |
| 83 | sys_mmap, |
83 | sys_mmap, |
| 84 | sys_mremap, |
84 | sys_mremap, |
| 85 | sys_ipc_call_sync_fast, |
85 | sys_ipc_call_sync_fast, |
| 86 | sys_ipc_call_sync, |
86 | sys_ipc_call_sync, |