[REACTOS] Add asm.h containing macros to make assembly code both GAS and ML compatibl...
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 10 Feb 2010 23:24:59 +0000 (23:24 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 10 Feb 2010 23:24:59 +0000 (23:24 +0000)
commitdd6b443e89070a9550d5e8c9b374c17082cca84e
tree8e9969fd174184b6e7e991c26dd72aac4b8d3e52
parentde233c67ef52bdc3d08d4ab18c2b4f325fa9f453
[REACTOS] Add asm.h containing macros to make assembly code both GAS and ML compatible at the same time.
[NTOS/HAL] Move trap entry points from C into a GAS/ML compatile assembly file (might need fine tuning for ML). The entries are generated by a shared assembly macro TRAP_ENTRY. Removed KiTrapStub, KiIsV8086TrapSafe, KiIsUserTrapSafe, KiSetSaneSegments, removed segment handling from KiEnter*Trap.
[NTOS] Make KiFastCallEntryHandler and KiSystemServiceHandler FASTCALL and pass the systemcall number in TrapFrame->Eax
[HAL] Use _setjmp/longjmp instead of saving a trapframe in HalpBiosCall

svn path=/trunk/; revision=45565
20 files changed:
reactos/hal/halx86/generic/bios.c
reactos/hal/halx86/generic/pic.c
reactos/hal/halx86/generic/systimer.S
reactos/hal/halx86/generic/timer.c
reactos/hal/halx86/generic/trap.S [new file with mode: 0644]
reactos/hal/halx86/hal.rbuild
reactos/hal/halx86/hal_generic.rbuild
reactos/hal/halx86/halmps.rbuild
reactos/hal/halx86/halxbox.rbuild
reactos/hal/halx86/mp/apic.c
reactos/include/ndk/i386/asm.h
reactos/include/reactos/asm.h [new file with mode: 0644]
reactos/ntoskrnl/ex/i386/fastinterlck_asm.S
reactos/ntoskrnl/ex/i386/interlck_asm.S
reactos/ntoskrnl/include/internal/i386/asmmacro.S
reactos/ntoskrnl/include/internal/trap_x.h
reactos/ntoskrnl/ke/i386/irqobj.c
reactos/ntoskrnl/ke/i386/trap.s
reactos/ntoskrnl/ke/i386/traphdlr.c
reactos/ntoskrnl/ke/i386/usercall_asm.S