Author: tkreuzer
Date: Tue Dec 9 19:26:10 2008
New Revision: 37990
URL:
http://svn.reactos.org/svn/reactos?rev=37990&view=rev
Log:
add CBSTACK constants, need to check for correctness
Modified:
branches/ros-amd64-bringup/reactos/include/ndk/amd64/asm.h
Modified: branches/ros-amd64-bringup/reactos/include/ndk/amd64/asm.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/ndk/amd64/asm.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/ndk/amd64/asm.h [iso-8859-1] Tue Dec 9
19:26:10 2008
@@ -235,6 +235,16 @@
#define PRIMARY_VECTOR_BASE 0x30
#define MAXIMUM_IDTVECTOR 0xFF
+//
+// Usermode callout frame definitions
+//
+#define CBSTACK_STACK 0x0
+#define CBSTACK_TRAP_FRAME 0x8
+#define CBSTACK_CALLBACK_STACK 0x10
+#define CBSTACK_RBP 0x18
+#define CBSTACK_RESULT 0x20
+#define CBSTACK_RESULT_LENGTH 0x28
+
/* Following ones are ASM only! ***********************************************/