summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/include/asm-i386/segment.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/dev/include/asm-i386/segment.h b/linux/dev/include/asm-i386/segment.h
index c7b3ff5..300ba53 100644
--- a/linux/dev/include/asm-i386/segment.h
+++ b/linux/dev/include/asm-i386/segment.h
@@ -3,8 +3,13 @@
#ifdef MACH
+#ifdef MACH_HYP
+#define KERNEL_CS 0x09
+#define KERNEL_DS 0x11
+#else /* MACH_HYP */
#define KERNEL_CS 0x08
#define KERNEL_DS 0x10
+#endif /* MACH_HYP */
#define USER_CS 0x17
#define USER_DS 0x1F