relocator16: Comments update

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Cao jin 2018-08-14 15:03:25 +08:00 committed by Daniel Kiper
parent d62cafcf35
commit d2374cfb71

View file

@ -204,8 +204,9 @@ LOCAL(gate_a20_check_state):
ret ret
LOCAL(gate_a20_done): LOCAL(gate_a20_done):
/* we are in real mode now /*
* set up the real mode segment registers : DS, SS, ES * We are in real mode now. Set up the real mode segment registers and
* all the other general purpose registers. cs is updated with ljmp.
*/ */
/* movw imm16, %ax. */ /* movw imm16, %ax. */
.byte 0xb8 .byte 0xb8
@ -298,7 +299,7 @@ LOCAL(gdt):
.byte 0, 0x92, 0xCF, 0 .byte 0, 0x92, 0xCF, 0
/* -- 16 bit real mode CS -- /* -- 16 bit real mode CS --
* base = 0x00000000, limit 0x0FFFF (1 B Granularity), present * base = filled by code, limit 0x0FFFF (1 B Granularity), present
* type = 16 bit code execute/read only/conforming, DPL = 0 * type = 16 bit code execute/read only/conforming, DPL = 0
*/ */
.word 0xFFFF .word 0xFFFF