reactos/sdk/include/asm
Timo Kreuzer 05456808e8 [NTOS:KE/x64] Fix handling of non-volatiles in trap vs exception frame
The registers that are saved/restored in the trap / exception frame need to be consistent between all entry/exit points as well as the functions that convert between trap/exception frame and context. The trap frame contains only the non-volatile registers and rbp, the rest is saved in the exception frame.
The previous code didn't save rbp in the syscall handler, which led to it being clobbered when exiting though KiServiceExit2 rather than returning back to the syscall exit path. Also KeContextToTrapFrame would use rbx, rsi and rdi from the trap frame, which wouldn't be saved there by the syscall handler.
2024-04-14 16:09:20 +02:00
..
asm.inc [ASM x64] Fix UNIMPLEMENTED macro for MSVC 2022-05-25 23:16:04 +02:00
CMakeLists.txt [REACTOS] Finally get some ARM64 applications building (#4517) 2022-05-25 17:06:32 +03:00
genincdata.c [REACTOS] Finally get some ARM64 applications building (#4517) 2022-05-25 17:06:32 +03:00
ks386.template.h [SDK:ASM][NDK] Adjust the x86 definition of PCR (for UP and MP). 2023-08-06 17:29:06 +02:00
ksamd64.template.h [SDK:ASM] OK these definition entries are #if 0'ed out, but close the parentheses anyway to not mess up with editors' code-folding functionality. 2023-08-06 17:24:41 +02:00
ksarm.template.h [SDK:ASM] OK these definition entries are #if 0'ed out, but close the parentheses anyway to not mess up with editors' code-folding functionality. 2023-08-06 17:24:41 +02:00
ksarm64.template.h [REACTOS] Finally get some ARM64 applications building (#4517) 2022-05-25 17:06:32 +03:00
ksx.template.h [NTOS:KE][HALX86] Implement AP startup code (#5879) 2023-11-19 15:51:33 -08:00
kxamd64.inc [ASM x64] Fix usage of macro .allocstack 2021-01-28 20:31:16 +01:00
kxarm.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
macamd64.inc [ASM x64] Change ; by /* */ for comments 2021-01-07 21:12:11 +01:00
syscalls.inc Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
trapamd64.inc [NTOS:KE/x64] Fix handling of non-volatiles in trap vs exception frame 2024-04-14 16:09:20 +02:00