- Add some more misc. public definitions and fix exfuncs.h so that it can be included...
[reactos.git] / reactos / include / ndk / i386 / ketypes.h
index e428a58..9473ce2 100644 (file)
@@ -26,6 +26,7 @@ Author:
 //
 // X86 80386 Segment Types
 //
 //
 // X86 80386 Segment Types
 //
+#define I386_TASK_GATE          0x5
 #define I386_TSS                0x9
 #define I386_ACTIVE_TSS         0xB
 #define I386_CALL_GATE          0xC
 #define I386_TSS                0x9
 #define I386_ACTIVE_TSS         0xB
 #define I386_CALL_GATE          0xC
@@ -439,8 +440,13 @@ typedef struct _KIPCR
     ULONG IrrActive;             /* 2C */
     ULONG IDR;                   /* 30 */
     PVOID KdVersionBlock;        /* 34 */
     ULONG IrrActive;             /* 2C */
     ULONG IDR;                   /* 30 */
     PVOID KdVersionBlock;        /* 34 */
+#ifdef _REACTOS_
     PUSHORT IDT;                 /* 38 */
     PUSHORT GDT;                 /* 3C */
     PUSHORT IDT;                 /* 38 */
     PUSHORT GDT;                 /* 3C */
+#else
+    PKIDTENTRY IDT;              /* 38 */
+    PKGDTENTRY GDT;              /* 3C */
+#endif
     struct _KTSS *TSS;           /* 40 */
     USHORT MajorVersion;         /* 44 */
     USHORT MinorVersion;         /* 46 */
     struct _KTSS *TSS;           /* 40 */
     USHORT MajorVersion;         /* 44 */
     USHORT MinorVersion;         /* 46 */