Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Morris committed Aug 10, 2016
1 parent 3431cd4 commit 2411882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bootasm.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion entryother.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2411882

Please sign in to comment.