Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1099 → Rev 1100

/kernel/trunk/generic/src/syscall/syscall.c
62,6 → 62,16
return as_remap(AS, (__address) address, size, 0);
}
 
/** Dispatch system call */
__native syscall_handler(__native a1, __native a2, __native a3,
__native a4, __native id)
{
if (id < SYSCALL_END)
return syscall_table[id](a1,a2,a3,a4);
else
panic("Undefined syscall %d", id);
}
 
syshandler_t syscall_table[SYSCALL_END] = {
sys_io,
sys_thread_create,