comment nits
This commit is contained in:
parent
9b59dc44dc
commit
90a81b3228
1 changed files with 3 additions and 3 deletions
|
@ -12,8 +12,8 @@
|
||||||
start:
|
start:
|
||||||
cli # BIOS enabled interrupts; disable
|
cli # BIOS enabled interrupts; disable
|
||||||
|
|
||||||
# Set up the important data segment registers (DS, ES, SS).
|
# Zero data segment registers DS, ES, and SS.
|
||||||
xorw %ax,%ax # Segment number zero
|
xorw %ax,%ax # Set %ax to zero
|
||||||
movw %ax,%ds # -> Data Segment
|
movw %ax,%ds # -> Data Segment
|
||||||
movw %ax,%es # -> Extra Segment
|
movw %ax,%es # -> Extra Segment
|
||||||
movw %ax,%ss # -> Stack Segment
|
movw %ax,%ss # -> Stack Segment
|
||||||
|
@ -37,7 +37,7 @@ seta20.2:
|
||||||
outb %al,$0x60
|
outb %al,$0x60
|
||||||
|
|
||||||
# Switch from real to protected mode. Use a bootstrap GDT that makes
|
# Switch from real to protected mode. Use a bootstrap GDT that makes
|
||||||
# virtual addresses map dierctly to physical addresses so that the
|
# virtual addresses map directly to physical addresses so that the
|
||||||
# effective memory map doesn't change during the transition.
|
# effective memory map doesn't change during the transition.
|
||||||
lgdt gdtdesc
|
lgdt gdtdesc
|
||||||
movl %cr0, %eax
|
movl %cr0, %eax
|
||||||
|
|
Loading…
Reference in a new issue