reactos/ntoskrnl/include/internal/i386
Thomas Faber 4f49a9c792
[NTOS:KE] Save ExceptionList in the assembly version of KiEnterTrap. CORE-15723
If SEH is used in a C trap handler, the exception frame will be
registered before the call to KiEnterTrap, which means we save
the wrong trap handler. We'll therefore also restore this wrong
frame for the excepting code, resulting in a stale SEH chain.

We avoid this problem by saving the handler in the assembly
trap entry code instead of from C. While SEH in a C trap handler
should now theoretically be safe, we still forbid it through
asserts in the C KiEnterTrap variants to make any potential
future problems more obvious. Should this functionality be
needed at some point and deemed safe, these asserts can then be
removed.
2020-06-06 08:44:30 +02:00
..
asmmacro.S [NTOS:KE] Save ExceptionList in the assembly version of KiEnterTrap. CORE-15723 2020-06-06 08:44:30 +02:00
callconv.s Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
intrin_i.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
ke.h [NTOS:KE] Improvements for the Trap02 (NMI) and Trap08 (double-fault) exception handlers. 2019-06-20 19:38:56 +02:00
mm.h [NTOS:MM] Make the definitions and macros for x86 more human-readable. (#2487) 2020-04-04 14:26:15 +02:00
trap_x.h [NTOS:KE] Save ExceptionList in the assembly version of KiEnterTrap. CORE-15723 2020-06-06 08:44:30 +02:00