Changeset 6d9c49a in mainline for arch/mips32/src/exception.c


Ignore:
Timestamp:
2006-03-13T19:39:30Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45d6add
Parents:
78a95d6f
Message:

Added kernel IPC functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/src/exception.c

    r78a95d6f r6d9c49a  
    134134static void syscall_exception(int n, struct exception_regdump *pstate)
    135135{
     136        interrupts_enable();
    136137        if (pstate->a3 < SYSCALL_END)
    137138                pstate->v0 = syscall_table[pstate->a3](pstate->a0,
     
    140141        else
    141142                panic("Undefined syscall %d", pstate->a3);
     143        interrupts_disable();
    142144        pstate->epc += 4;
    143145}
Note: See TracChangeset for help on using the changeset viewer.