From dab71e324dd38b263777a1cb121e8c77dcfbe502 Mon Sep 17 00:00:00 2001 From: yuchen Date: Sat, 14 Mar 2015 00:17:50 +0800 Subject: [PATCH] add info for pmboot.S --- related_info/lab1/pmbootloader/pmboot.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/related_info/lab1/pmbootloader/pmboot.S b/related_info/lab1/pmbootloader/pmboot.S index 729cef0..64b2100 100644 --- a/related_info/lab1/pmbootloader/pmboot.S +++ b/related_info/lab1/pmbootloader/pmboot.S @@ -16,9 +16,9 @@ start: jmpl $0x0, $code GDT_START: -Descriptor_DUMMY:Descriptor(0x0,0x0,0x0) -Descript_CODE32 :Descriptor(0x0,0xffffffff,DA_C+DA_32) -Descriptor_VIDEO:Descriptor(0xb8000,0x0ffff,DA_DRW) +Descriptor_DUMMY:Descriptor(0x0,0x0,0x0) /* 第0项里面全是0,不会用到 */ +Descript_CODE32 :Descriptor(0x0,0xffffffff,DA_C+DA_32) /* 32位代码段的段基址,段界限,访问类型 */ +Descriptor_VIDEO:Descriptor(0xb8000,0x0ffff,DA_DRW) /* 显存的段基址,段界限,访问类型 */ GDT_END: GdtPtr: