Subversion Repositories HelenOS

Rev

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

Rev 1191 Rev 1212
Line 62... Line 62...
62
static __native sys_mremap(void *address, size_t size, int flags)
62
static __native sys_mremap(void *address, size_t size, int flags)
63
{
63
{
64
    return as_remap(AS, (__address) address, size, 0);
64
    return as_remap(AS, (__address) address, size, 0);
65
}
65
}
66
 
66
 
-
 
67
static __native sys_int_control(int enable)
-
 
68
{
-
 
69
    panic("Not implemented.");
-
 
70
}
-
 
71
 
67
/** Dispatch system call */
72
/** Dispatch system call */
68
__native syscall_handler(__native a1, __native a2, __native a3,
73
__native syscall_handler(__native a1, __native a2, __native a3,
69
             __native a4, __native id)
74
             __native a4, __native id)
70
{
75
{
71
    if (id < SYSCALL_END)
76
    if (id < SYSCALL_END)
Line 75... Line 80...
75
}
80
}
76
 
81
 
77
syshandler_t syscall_table[SYSCALL_END] = {
82
syshandler_t syscall_table[SYSCALL_END] = {
78
    sys_io,
83
    sys_io,
79
    sys_tls_set,
84
    sys_tls_set,
-
 
85
    sys_int_control,
80
    sys_thread_create,
86
    sys_thread_create,
81
    sys_thread_exit,
87
    sys_thread_exit,
82
    sys_futex_sleep_timeout,
88
    sys_futex_sleep_timeout,
83
    sys_futex_wakeup,
89
    sys_futex_wakeup,
84
    sys_mmap,
90
    sys_mmap,