diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-01-28 02:09:16 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-01-28 02:36:38 +0100 |
commit | 8bb723b45c225eebc3c92b8d4632eaee50b0e496 (patch) | |
tree | 5ebee9b2d9b6cb754f3c62b68004f5ad71fde222 | |
parent | 377805c5a1eb8625855b954acc0f636d16d4bec9 (diff) |
Fix comments
-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__ |