Subversion Repositories HelenOS-historic

Rev

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

Rev 1100 Rev 1109
Line 34... Line 34...
34
#include <errno.h>
34
#include <errno.h>
35
#include <proc/task.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
 
40
 
40
static __native sys_io(int fd, const void * buf, size_t count) {
41
static __native sys_io(int fd, const void * buf, size_t count) {
41
   
42
   
42
    // TODO: buf sanity checks and a lot of other stuff ...
43
    // TODO: buf sanity checks and a lot of other stuff ...
43
 
44
 
Line 74... Line 75...
74
 
75
 
75
syshandler_t syscall_table[SYSCALL_END] = {
76
syshandler_t syscall_table[SYSCALL_END] = {
76
    sys_io,
77
    sys_io,
77
    sys_thread_create,
78
    sys_thread_create,
78
    sys_thread_exit,
79
    sys_thread_exit,
-
 
80
    sys_futex_sleep,
-
 
81
    sys_futex_wakeup,
79
    sys_mmap,
82
    sys_mmap,
80
    sys_mremap,
83
    sys_mremap,
81
    sys_ipc_call_sync_fast,
84
    sys_ipc_call_sync_fast,
82
    sys_ipc_call_sync,
85
    sys_ipc_call_sync,
83
    sys_ipc_call_async_fast,
86
    sys_ipc_call_async_fast,