Changeset 6d9c49a in mainline for arch/ia32/src/interrupt.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/ia32/src/interrupt.c

    r78a95d6f r6d9c49a  
    115115{
    116116        __native *stack = (__native *) st;
    117        
     117
     118        interrupts_enable();
    118119        if (stack[-2] < SYSCALL_END)
    119120                stack[-2] = syscall_table[stack[-2]](stack[-5], stack[-3], stack[-4]);
    120121        else
    121122                panic("Undefined syscall %d", stack[-2]);
     123        interrupts_disable();
    122124}
    123125
Note: See TracChangeset for help on using the changeset viewer.