99,8 → 99,10 |
unative_t rc; |
istate_t fake_state; |
|
if (id < SYSCALL_END) { |
THREAD->uspace_state = &fake_state; |
THREAD->uspace_state = &fake_state; |
udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, 0, false); |
|
if (id < SYSCALL_END) { |
udebug_stoppable_begin(); |
rc = syscall_table[id](a1, a2, a3, a4, a5, a6); |
} else { |
113,7 → 115,7 |
if (THREAD->interrupted) |
thread_exit(); |
|
udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, rc); |
udebug_syscall_event(a1, a2, a3, a4, a5, a6, id, rc, true); |
udebug_stoppable_end(); |
THREAD->uspace_state = NULL; |
|