Rev 3424 | Rev 3431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3424 | Rev 3425 | ||
|---|---|---|---|
| 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> |
| 46 | #include <debug.h> |
47 | #include <debug.h> |
| 47 | #include <ipc/sysipc.h> |
48 | #include <ipc/sysipc.h> |
| 48 | #include <synch/futex.h> |
49 | #include <synch/futex.h> |
| - | 50 | #include <synch/smc.h> |
|
| 49 | #include <ddi/ddi.h> |
51 | #include <ddi/ddi.h> |
| 50 | #include <security/cap.h> |
52 | #include <security/cap.h> |
| 51 | #include <syscall/copy.h> |
53 | #include <syscall/copy.h> |
| 52 | #include <sysinfo/sysinfo.h> |
54 | #include <sysinfo/sysinfo.h> |
| 53 | #include <console/console.h> |
55 | #include <console/console.h> |
| Line 131... | Line 133... | ||
| 131 | (syshandler_t) sys_thread_create, |
133 | (syshandler_t) sys_thread_create, |
| 132 | (syshandler_t) sys_thread_exit, |
134 | (syshandler_t) sys_thread_exit, |
| 133 | (syshandler_t) sys_thread_get_id, |
135 | (syshandler_t) sys_thread_get_id, |
| 134 | 136 | ||
| 135 | (syshandler_t) sys_task_get_id, |
137 | (syshandler_t) sys_task_get_id, |
| 136 | (syshandler_t) sys_task_spawn, |
138 | (syshandler_t) sys_program_spawn_loader, |
| 137 | 139 | ||
| 138 | /* Synchronization related syscalls. */ |
140 | /* Synchronization related syscalls. */ |
| 139 | (syshandler_t) sys_futex_sleep_timeout, |
141 | (syshandler_t) sys_futex_sleep_timeout, |
| 140 | (syshandler_t) sys_futex_wakeup, |
142 | (syshandler_t) sys_futex_wakeup, |
| - | 143 | (syshandler_t) sys_smc_coherence, |
|
| 141 | 144 | ||
| 142 | /* Address space related syscalls. */ |
145 | /* Address space related syscalls. */ |
| 143 | (syshandler_t) sys_as_area_create, |
146 | (syshandler_t) sys_as_area_create, |
| 144 | (syshandler_t) sys_as_area_resize, |
147 | (syshandler_t) sys_as_area_resize, |
| - | 148 | (syshandler_t) sys_as_area_change_flags, |
|
| 145 | (syshandler_t) sys_as_area_destroy, |
149 | (syshandler_t) sys_as_area_destroy, |
| 146 | 150 | ||
| 147 | /* IPC related syscalls. */ |
151 | /* IPC related syscalls. */ |
| 148 | (syshandler_t) sys_ipc_call_sync_fast, |
152 | (syshandler_t) sys_ipc_call_sync_fast, |
| 149 | (syshandler_t) sys_ipc_call_sync_slow, |
153 | (syshandler_t) sys_ipc_call_sync_slow, |