https://git.reactos.org/?p=reactos.git;a=commitdiff;h=42e1fefcc6c4833913cbb…
commit 42e1fefcc6c4833913cbb1552d04ae63a9f895da
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sat Mar 24 11:06:18 2018 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Fri May 28 11:52:42 2021 +0200
[ASM] Clear interrupt flag in ExitTrap before returning
---
sdk/include/asm/trapamd64.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sdk/include/asm/trapamd64.inc b/sdk/include/asm/trapamd64.inc
index d3772689938..a4c1b844625 100644
--- a/sdk/include/asm/trapamd64.inc
+++ b/sdk/include/asm/trapamd64.inc
@@ -203,6 +203,8 @@ MACRO(ExitTrap, Flags)
IntsEnabled:
#endif
+ cli
+
/* Swap gs to user mode */
swapgs