Subversion Repositories HelenOS

Rev

Rev 3113 | Rev 3438 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3113 Rev 3222
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 121... Line 123...
121
    (syshandler_t) sys_thread_create,
123
    (syshandler_t) sys_thread_create,
122
    (syshandler_t) sys_thread_exit,
124
    (syshandler_t) sys_thread_exit,
123
    (syshandler_t) sys_thread_get_id,
125
    (syshandler_t) sys_thread_get_id,
124
   
126
   
125
    (syshandler_t) sys_task_get_id,
127
    (syshandler_t) sys_task_get_id,
126
    (syshandler_t) sys_task_spawn,
128
    (syshandler_t) sys_program_spawn_loader,
127
   
129
   
128
    /* Synchronization related syscalls. */
130
    /* Synchronization related syscalls. */
129
    (syshandler_t) sys_futex_sleep_timeout,
131
    (syshandler_t) sys_futex_sleep_timeout,
130
    (syshandler_t) sys_futex_wakeup,
132
    (syshandler_t) sys_futex_wakeup,
-
 
133
    (syshandler_t) sys_smc_coherence,
131
   
134
   
132
    /* Address space related syscalls. */
135
    /* Address space related syscalls. */
133
    (syshandler_t) sys_as_area_create,
136
    (syshandler_t) sys_as_area_create,
134
    (syshandler_t) sys_as_area_resize,
137
    (syshandler_t) sys_as_area_resize,
-
 
138
    (syshandler_t) sys_as_area_change_flags,
135
    (syshandler_t) sys_as_area_destroy,
139
    (syshandler_t) sys_as_area_destroy,
136
   
140
   
137
    /* IPC related syscalls. */
141
    /* IPC related syscalls. */
138
    (syshandler_t) sys_ipc_call_sync_fast,
142
    (syshandler_t) sys_ipc_call_sync_fast,
139
    (syshandler_t) sys_ipc_call_sync_slow,
143
    (syshandler_t) sys_ipc_call_sync_slow,