Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 959 → Rev 958

/kernel/trunk/arch/mips32/src/exception.c
134,11 → 134,10
static void syscall_exception(int n, istate_t *istate)
{
interrupts_enable();
if (istate->t0 < SYSCALL_END)
istate->v0 = syscall_table[istate->t0](istate->a0,
if (istate->a3 < SYSCALL_END)
istate->v0 = syscall_table[istate->a3](istate->a0,
istate->a1,
istate->a2,
istate->a3);
istate->a2);
else
panic("Undefined syscall %d", istate->a3);
istate->epc += 4;