Changeset 6d9c49a in mainline for arch/mips32


Ignore:
Timestamp:
2006-03-13T19:39:30Z (20 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.

Location:
arch/mips32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/include/types.h

    r78a95d6f r6d9c49a  
    4949
    5050typedef __u32 __native;
     51typedef __s32 __snative;
    5152
    5253typedef struct pte pte_t;
  • 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.