Rev 2187 | Rev 2605 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2187 | Rev 2216 | ||
---|---|---|---|
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) |