From 8bb723b45c225eebc3c92b8d4632eaee50b0e496 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 28 Jan 2013 02:09:16 +0100 Subject: Fix comments --- i386/i386/gdt.h | 2 +- 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__ -- cgit v1.2.3