https://git.reactos.org/?p=reactos.git;a=commitdiff;h=38be76187adb58edac247…
commit 38be76187adb58edac247c4ebb92c9f529f4b14e
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sat Oct 26 16:14:27 2019 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sun Sep 20 23:08:17 2020 +0200
[ASM] Fix KUMS_CONTEXT_HEADER offsets in ksamd64.template.h
---
sdk/include/asm/ksamd64.template.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/sdk/include/asm/ksamd64.template.h b/sdk/include/asm/ksamd64.template.h
index 18fcb246b2f..7ad83dc557d 100644
--- a/sdk/include/asm/ksamd64.template.h
+++ b/sdk/include/asm/ksamd64.template.h
@@ -801,13 +801,13 @@ SIZE(RTL_UMS_CONTEXT_LENGTH, RTL_UMS_CONTEXT),
HEADER("KUMS_CONTEXT_HEADER offsets"),
OFFSET(UchStackTop, KUMS_CONTEXT_HEADER, StackTop),
-OFFSET(UchStackSize, KUMS_CONTEXT_HEADER, StackTop),
-OFFSET(UchRspOffset, KUMS_CONTEXT_HEADER, StackTop),
-OFFSET(UchRip, KUMS_CONTEXT_HEADER, StackTop),
-OFFSET(UchFltSave, KUMS_CONTEXT_HEADER, StackTop),
-OFFSET(UchFlags, KUMS_CONTEXT_HEADER, StackTop),
-OFFSET(UchTrapFrame, KUMS_CONTEXT_HEADER, StackTop),
-OFFSET(UchExceptionFrame, KUMS_CONTEXT_HEADER, StackTop),
+OFFSET(UchStackSize, KUMS_CONTEXT_HEADER, StackSize),
+OFFSET(UchRspOffset, KUMS_CONTEXT_HEADER, RspOffset),
+OFFSET(UchRip, KUMS_CONTEXT_HEADER, Rip),
+OFFSET(UchFltSave, KUMS_CONTEXT_HEADER, FltSave),
+OFFSET(UchFlags, KUMS_CONTEXT_HEADER, Flags),
+OFFSET(UchTrapFrame, KUMS_CONTEXT_HEADER, TrapFrame),
+OFFSET(UchExceptionFrame, KUMS_CONTEXT_HEADER, ExceptionFrame),
SIZE(KUMS_CONTEXT_HEADER_LENGTH, KUMS_CONTEXT_HEADER),
HEADER("UMS_CONTROL_BLOCK offsets"),