diff options
-rw-r--r-- | i386/i386/gdt.h | 2 | ||||
-rw-r--r-- | i386/i386/seg.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/gdt.h b/i386/i386/gdt.h index 788f48a..d865640 100644 --- a/i386/i386/gdt.h +++ b/i386/i386/gdt.h @@ -49,7 +49,7 @@ that holds IO bitmap */ #ifndef MACH_PV_DESCRIPTORS #define LINEAR_DS 0x38 /* linear mapping */ -#endif /* MACH_HYP */ +#endif /* MACH_PV_DESCRIPTORS */ /* 0x40 was USER_FPREGS, now free */ #define USER_GDT 0x48 /* user-defined GDT entries */ diff --git a/i386/i386/seg.h b/i386/i386/seg.h index ff9a0cd..163a1c5 100644 --- a/i386/i386/seg.h +++ b/i386/i386/seg.h @@ -40,9 +40,9 @@ /* Note: the value of KERNEL_RING is handled by hand in locore.S */ #ifdef MACH_RING1 #define KERNEL_RING 1 -#else /* MACH_HYP */ +#else /* MACH_RING1 */ #define KERNEL_RING 0 -#endif /* MACH_HYP */ +#endif /* MACH_RING1 */ #ifndef __ASSEMBLER__ |