Subversion Repositories HelenOS

Rev

Rev 2131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2131 Rev 2307
Line 98... Line 98...
98
    unative_t rc;
98
    unative_t rc;
99
 
99
 
100
    if (id < SYSCALL_END)
100
    if (id < SYSCALL_END)
101
        rc = syscall_table[id](a1, a2, a3, a4);
101
        rc = syscall_table[id](a1, a2, a3, a4);
102
    else {
102
    else {
103
        klog_printf("TASK %lld: Unknown syscall id %d",TASK->taskid,id);
103
        klog_printf("TASK %llu: Unknown syscall id %d",TASK->taskid,id);
104
        task_kill(TASK->taskid);
104
        task_kill(TASK->taskid);
105
        thread_exit();
105
        thread_exit();
106
    }
106
    }
107
       
107
       
108
    if (THREAD->interrupted)
108
    if (THREAD->interrupted)
Line 116... Line 116...
116
    (syshandler_t) sys_tls_set,
116
    (syshandler_t) sys_tls_set,
117
   
117
   
118
    /* Thread and task related syscalls. */
118
    /* Thread and task related syscalls. */
119
    (syshandler_t) sys_thread_create,
119
    (syshandler_t) sys_thread_create,
120
    (syshandler_t) sys_thread_exit,
120
    (syshandler_t) sys_thread_exit,
-
 
121
    (syshandler_t) sys_thread_get_id,
121
    (syshandler_t) sys_task_get_id,
122
    (syshandler_t) sys_task_get_id,
122
   
123
   
123
    /* Synchronization related syscalls. */
124
    /* Synchronization related syscalls. */
124
    (syshandler_t) sys_futex_sleep_timeout,
125
    (syshandler_t) sys_futex_sleep_timeout,
125
    (syshandler_t) sys_futex_wakeup,
126
    (syshandler_t) sys_futex_wakeup,