Author: tkreuzer
Date: Fri Nov 19 18:27:05 2010
New Revision: 49639
URL:
http://svn.reactos.org/svn/reactos?rev=49639&view=rev
Log:
[ASM]
Add more constants for ks386.inc
Modified:
branches/cmake-bringup/include/asm/ks386.template.h
Modified: branches/cmake-bringup/include/asm/ks386.template.h
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/include/asm/ks386…
==============================================================================
--- branches/cmake-bringup/include/asm/ks386.template.h [iso-8859-1] (original)
+++ branches/cmake-bringup/include/asm/ks386.template.h [iso-8859-1] Fri Nov 19 18:27:05
2010
@@ -346,7 +346,6 @@
//OFFSET(CONTEXT_FLOAT_SAVE_CONTROL_WORD CONTEXT_FLOAT_SAVE + FP_CONTROL_WORD
//OFFSET(CONTEXT_FLOAT_SAVE_STATUS_WORD CONTEXT_FLOAT_SAVE + FP_STATUS_WORD
//OFFSET(CONTEXT_FLOAT_SAVE_TAG_WORD CONTEXT_FLOAT_SAVE + FP_TAG_WORD
-//OFFSET(CONTEXT_ALIGNED_SIZE 0x2CC
//OFFSET(CONTEXT_FRAME_LENGTH 0x2D0
SIZE(CONTEXT_FRAME_LENGTH, CONTEXT),
@@ -360,7 +359,10 @@
OFFSET(EXCEPTION_RECORD_EXCEPTION_RECORD, EXCEPTION_RECORD, ExceptionRecord),
OFFSET(EXCEPTION_RECORD_EXCEPTION_ADDRESS, EXCEPTION_RECORD, ExceptionAddress),
OFFSET(EXCEPTION_RECORD_NUMBER_PARAMETERS, EXCEPTION_RECORD, NumberParameters),
+OFFSET(EXCEPTION_RECORD_EXCEPTION_ADDRESS, EXCEPTION_RECORD, ExceptionAddress),
SIZE(SIZEOF_EXCEPTION_RECORD, EXCEPTION_RECORD),
+CONSTANT(EXCEPTION_RECORD_LENGTH),
+
//#define EXCEPTION_RECORD_LENGTH 0x50
HEADER("KTHREAD"),
@@ -418,4 +420,17 @@
CONSTANT(CBSTACK_CALLBACK_STACK),
SIZE(SIZEOF_FX_SAVE_AREA, FX_SAVE_AREA),
OFFSET(TEB_EXCEPTION_LIST, TEB, NtTib.ExceptionList),
+OFFSET(TEB_STACK_LIMIT, TEB, NtTib.StackLimit),
+OFFSET(TEB_STACK_BASE, TEB, NtTib.StackBase),
+OFFSET(TEB_PEB, TEB, ProcessEnvironmentBlock),
+OFFSET(TEB_EXCEPTION_CODE, TEB, ExceptionCode),
+OFFSET(PEB_KERNEL_CALLBACK_TABLE, PEB, KernelCallbackTable),
CONSTANT(KUSER_SHARED_SYSCALL),
+CONSTANT(EXCEPTION_EXECUTE_HANDLER),
+CONSTANT(STATUS_CALLBACK_POP_STACK),
+CONSTANT(CONTEXT_ALIGNED_SIZE),
+
+
+
+
+