projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTOS:KE] Save ExceptionList in the assembly version of KiEnterTrap. CORE-15723
[reactos.git]
/
ntoskrnl
/
include
/
internal
/
i386
/
asmmacro.S
diff --git
a/ntoskrnl/include/internal/i386/asmmacro.S
b/ntoskrnl/include/internal/i386/asmmacro.S
index
f7af217
..
543ce3f
100644
(file)
--- a/
ntoskrnl/include/internal/i386/asmmacro.S
+++ b/
ntoskrnl/include/internal/i386/asmmacro.S
@@
-207,6
+207,10
@@
set_sane_segs:
mov fs, ax
endif
+ /* Save ExceptionList, since the C handler might use SEH */
+ mov eax, fs:[KPCR_EXCEPTION_LIST]
+ mov [esp + KTRAP_FRAME_EXCEPTION_LIST], eax
+
#if DBG
/* Keep the frame chain intact */
mov eax, [esp + KTRAP_FRAME_EIP]