Author: tkreuzer
Date: Sat Oct 17 22:19:42 2009
New Revision: 43543
URL:
http://svn.reactos.org/svn/reactos?rev=43543&view=rev
Log:
Add some structure offset macros to asm.h for amd64
Modified:
trunk/reactos/include/ndk/amd64/asm.h
Modified: trunk/reactos/include/ndk/amd64/asm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/amd64/asm.h?re…
==============================================================================
--- trunk/reactos/include/ndk/amd64/asm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/amd64/asm.h [iso-8859-1] Sat Oct 17 22:19:42 2009
@@ -49,6 +49,15 @@
#define KTHREAD_INITIAL_STACK 0x28
#define KTHREAD_STACK_LIMIT 0x30
#define KTHREAD_WAIT_IRQL 0x156
+#define KTHREAD_TEB 0x0B0+0x10
+#define KTHREAD_KERNEL_STACK 0x038
+#define KTHREAD_NPX_STATE 0x85
+#define KTHREAD_SERVICE_TABLE 0x1E8
+#define KTHREAD_PREVIOUS_MODE 0x137
+#define KTHREAD_TRAP_FRAME 0x1D8
+#define KTHREAD_CALLBACK_STACK 0x1E0
+#define KTHREAD_APCSTATE_PROCESS 0x068
+#define KPROCESS_DIRECTORY_TABLE_BASE 0x028
//
// KPRCB Offsets