reactos/ntoskrnl/ke/amd64
Timo Kreuzer c86c55ace7 [NTOS:KE:X64] Change the logic of KeSwitchKernelStack and friends to be standards conforming
The previous version (like the x86 one) used a combination of C and asm code, called from C code to switch the stack. This is problematic, since there is no guarantee what assumptions C code makes about the stack (i.e. it can place any kind of stack pointers into registers or on the stack itself.) The new algorithm returns back to the systemcall entry point in asm, which then calls KiConvertToGuiThread, which is also asm and calls KeSwitchKernelStack ...
2020-10-31 14:23:16 +01:00
..
boot.S
context.c [NTOS:KE:X64] Fix bugs in KeContextToTrapFrame and KeTrapFrameToContext 2020-10-31 14:23:16 +01:00
cpu.c
ctxswitch.S
except.c
interrupt.c
irql.c
kiinit.c
krnlinit.c
spinlock.c
stubs.c [NTOS:KE:X64] Change the logic of KeSwitchKernelStack and friends to be standards conforming 2020-10-31 14:23:16 +01:00
thrdini.c
trap.S [NTOS:KE:X64] Change the logic of KeSwitchKernelStack and friends to be standards conforming 2020-10-31 14:23:16 +01:00