Trap Handlers in C Patch 9 of 12:
authorSir Richard <sir_richard@svn.reactos.org>
Mon, 11 Jan 2010 17:44:09 +0000 (17:44 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Mon, 11 Jan 2010 17:44:09 +0000 (17:44 +0000)
commitf81a3c49180e6b28439c3d2cbf8838da47af780b
treed97206c033d871414c44bd2270e5382569481128
parent166f26af89991451969181c74c61350f4ee88968
Trap Handlers in C Patch 9 of 12:
    [NTOS]: Fix a logic bug in KiExitTrap: Always only restore segments if we came from user-mode (since they might be bogus on a kernel transition as they're not always saved), even if the caller wants segment restore.
    [NTOS]: Small perf boot: do a JMP, not a CALL into C handling code.
    [NTOS]: Make KiGetTickCount/KiCallbackReturn handled in C (as stubs).
    [NTOS]: Implement KeSynchronizeExecution in C. Move Kei386SpinOnSpinLock to C stub.
    [NTOS]: Implement overall architecture for handling hardware interrupts in C. Not used yet, since it needs C code in HAL.

svn path=/trunk/; revision=45045
reactos/ntoskrnl/include/internal/i386/asmmacro.S
reactos/ntoskrnl/include/internal/ke.h
reactos/ntoskrnl/ke/i386/irqobj.c
reactos/ntoskrnl/ke/i386/trap.s
reactos/ntoskrnl/ke/i386/traphdlr.c
reactos/ntoskrnl/ke/spinlock.c