|
@@ -205,6 +205,8 @@
|
|
|
|
|
|
#define IDT_ENTRIES 256
|
|
#define IDT_ENTRIES 256
|
|
#define NUM_EXCEPTION_VECTORS 32
|
|
#define NUM_EXCEPTION_VECTORS 32
|
|
|
|
+/* Bitmask of exception vectors which push an error code on the stack */
|
|
|
|
+#define EXCEPTION_ERRCODE_MASK 0x00027d00
|
|
#define GDT_SIZE (GDT_ENTRIES * 8)
|
|
#define GDT_SIZE (GDT_ENTRIES * 8)
|
|
#define GDT_ENTRY_TLS_ENTRIES 3
|
|
#define GDT_ENTRY_TLS_ENTRIES 3
|
|
#define TLS_SIZE (GDT_ENTRY_TLS_ENTRIES * 8)
|
|
#define TLS_SIZE (GDT_ENTRY_TLS_ENTRIES * 8)
|