]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/segment.h
x86: sanitize pathes arch/x86/kernel/cpu/Makefile
[linux-2.6] / include / asm-x86_64 / segment.h
index adf2bf1e187c341524e69bf7ddc7b8b2b449b9de..04b8ab21328faed255f2cfca4d02f267c9fd5fb3 100644 (file)
@@ -3,6 +3,14 @@
 
 #include <asm/cache.h>
 
+/* Simple and small GDT entries for booting only */
+
+#define GDT_ENTRY_BOOT_CS              2
+#define __BOOT_CS      (GDT_ENTRY_BOOT_CS * 8)
+
+#define GDT_ENTRY_BOOT_DS              (GDT_ENTRY_BOOT_CS + 1)
+#define __BOOT_DS      (GDT_ENTRY_BOOT_DS * 8)
+
 #define __KERNEL_CS    0x10
 #define __KERNEL_DS    0x18