mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 22:16:01 +00:00
c86c55ace7
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 ... |
||
---|---|---|
.. | ||
boot.S | ||
context.c | ||
cpu.c | ||
ctxswitch.S | ||
except.c | ||
interrupt.c | ||
irql.c | ||
kiinit.c | ||
krnlinit.c | ||
spinlock.c | ||
stubs.c | ||
thrdini.c | ||
trap.S |