]> Devi Nivas Git - cs3210-lab0.git/commitdiff
nits
authorRobert Morris <rtm@csail.mit.edu>
Wed, 10 Aug 2016 16:06:02 +0000 (12:06 -0400)
committerRobert Morris <rtm@csail.mit.edu>
Wed, 10 Aug 2016 16:06:02 +0000 (12:06 -0400)
bootasm.S
entryother.S

index 91a595e5cff45d19a25be177c9f8960a7d235454..257867c88789e3140b10e4d49e6e35dbb792530b 100644 (file)
--- a/bootasm.S
+++ b/bootasm.S
@@ -45,7 +45,7 @@ seta20.2:
   movl    %eax, %cr0
 
 //PAGEBREAK!
-  # Complete transition to 32-bit protected mode by using long jmp
+  # Complete the transition to 32-bit protected mode by using a long jmp
   # to reload %cs and %eip.  The segment descriptors are set up with no
   # translation, so that the mapping is still the identity mapping.
   ljmp    $(SEG_KCODE<<3), $start32
index 4a791cf132ec87f49c676339f5c31605b041e7ba..a3b6dc212683791a12dcd1b03b3cc37b38bcd59c 100644 (file)
@@ -38,12 +38,12 @@ start:
   orl     $CR0_PE, %eax
   movl    %eax, %cr0
 
-//PAGEBREAK!
   # Complete the transition to 32-bit protected mode by using a long jmp
   # to reload %cs and %eip.  The segment descriptors are set up with no
   # translation, so that the mapping is still the identity mapping.
   ljmpl    $(SEG_KCODE<<3), $(start32)
 
+//PAGEBREAK!
 .code32  # Tell assembler to generate 32-bit code now.
 start32:
   # Set up the protected-mode data segment registers