reactos/sdk/include
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 [NTOS:KE/x64] Fix handling of non-volatiles in trap vs exception frame 2024-04-14 16:09:20 +02:00
c++ [REACTOS] Fix typos (#6198) 2023-12-23 21:37:08 +01:00
crt [CRT] intrin_x86.h: Use movsl instead of movsd to fix a GCC 13 warning 2024-03-19 07:44:40 +01:00
ddk [REACTOS] Standardize <imm.h> and <immdev.h> (#6493) 2024-02-13 20:33:14 +09:00
dxsdk [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
GL [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
host [SDK] Fix definition of IMAGE_NT_HEADERS64 in host tools 2021-04-28 13:10:23 +02:00
ndk [NDK/x64] Remove #pragma pack(push,4) around KPRCB/KPCR 2024-04-13 17:59:04 +02:00
psdk [SHELL32][SDK] Fix ParseDisplayName Part 1 (#6721) 2024-04-10 09:32:13 +09:00
reactos [SHELL32][SHELL32_APITEST][SDK] Implement GUIDFromStringA (#6734) 2024-04-12 21:29:07 +09:00
wdf/kmdf/1.17 [KMDF] Make KMDF headers compatible with our SDK and compilers 2020-11-03 00:06:25 +03:00
xdk [SDK:NDK/XDK] Sync NtCurrentTeb() definitions between NDK and PSDK winnt.h (#6542) 2024-03-10 17:10:50 +01:00