diff options
author | Robert Morris <[email protected]> | 2011-09-12 14:27:14 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2011-09-12 14:27:14 -0400 |
commit | 90a81b32285ed8d9644b95777c1bc0c931cb69c5 (patch) | |
tree | f4033e0d34c0178da320544c5abd5d0fd6338f55 | |
parent | 9b59dc44dca3299321531900254d71dddd87a476 (diff) | |
download | xv6-labs-90a81b32285ed8d9644b95777c1bc0c931cb69c5.tar.gz xv6-labs-90a81b32285ed8d9644b95777c1bc0c931cb69c5.tar.bz2 xv6-labs-90a81b32285ed8d9644b95777c1bc0c931cb69c5.zip |
comment nits
-rw-r--r-- | bootasm.S | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,8 +12,8 @@ start: cli # BIOS enabled interrupts; disable - # Set up the important data segment registers (DS, ES, SS). - xorw %ax,%ax # Segment number zero + # Zero data segment registers DS, ES, and SS. + xorw %ax,%ax # Set %ax to zero movw %ax,%ds # -> Data Segment movw %ax,%es # -> Extra Segment movw %ax,%ss # -> Stack Segment @@ -37,7 +37,7 @@ seta20.2: outb %al,$0x60 # 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. lgdt gdtdesc movl %cr0, %eax |