Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 955 → Rev 954

/kernel/trunk/arch/amd64/src/syscall.c
62,11 → 62,12
}
 
/** Dispatch system call */
__native syscall_handler(__native a1, __native a2, __native a3,
__native id)
__native syscall_handler(__native id, __native a1, __native a2, __native a3)
{
interrupts_enable();
if (id < SYSCALL_END)
return syscall_table[id](a1,a2,a3);
else
panic("Undefined syscall %d", id);
interrupts_disable();
}