Changeset 6d9c49a in mainline for arch/ia32


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/ia32
Files:
2 edited

Legend:

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

    r78a95d6f r6d9c49a  
    4848
    4949typedef __u32 __native;
     50typedef __s32 __native;
    5051
    5152typedef struct page_specifier pte_t;
  • 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.