[GENINC]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 15 Apr 2010 18:42:48 +0000 (18:42 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 15 Apr 2010 18:42:48 +0000 (18:42 +0000)
Add some more constants

svn path=/trunk/; revision=46883

reactos/tools/geninc/data.c

index f7563b5..b538071 100644 (file)
@@ -350,6 +350,15 @@ ASMGENDATA Table[] =
 
 #ifdef _M_IX86
 
+    HEADER("EFLAGS"),
+    CONSTANT(EFLAGS_TF),
+    CONSTANT(EFLAGS_INTERRUPT_MASK),
+    CONSTANT(EFLAGS_V86_MASK),
+    CONSTANT(EFLAGS_ALIGN_CHECK),
+    CONSTANT(EFLAGS_VIF),
+    CONSTANT(EFLAGS_VIP),
+    CONSTANT(EFLAGS_USER_SANITIZE),
+
     HEADER("KDGT selectors"),
     CONSTANT(KGDT_R3_DATA),
     CONSTANT(KGDT_R3_CODE),
@@ -413,6 +422,13 @@ ASMGENDATA Table[] =
 
 #elif defined(_M_AMD64)
 
+    HEADER("EFLAGS"),
+    CONSTANT(EFLAGS_TF_MASK),
+    CONSTANT(EFLAGS_TF_SHIFT),
+    CONSTANT(EFLAGS_IF_MASK),
+    CONSTANT(EFLAGS_IF_SHIFT),
+    CONSTANT(EFLAGS_ID_MASK),
+
     HEADER("Hypervisor Enlightenment Definitions"),
     CONSTANT(HV_MMU_USE_HYPERCALL_FOR_ADDRESS_SWITCH),
     CONSTANT(HV_MMU_USE_HYPERCALL_FOR_LOCAL_FLUSH),