Skip to content

Commit 2411882

Browse files
author
Robert Morris
committed
nits
1 parent 3431cd4 commit 2411882

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bootasm.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ seta20.2:
4545
movl %eax, %cr0
4646

4747
//PAGEBREAK!
48-
# Complete transition to 32-bit protected mode by using long jmp
48+
# Complete the transition to 32-bit protected mode by using a long jmp
4949
# to reload %cs and %eip. The segment descriptors are set up with no
5050
# translation, so that the mapping is still the identity mapping.
5151
ljmp $(SEG_KCODE<<3), $start32

entryother.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ start:
3838
orl $CR0_PE, %eax
3939
movl %eax, %cr0
4040

41-
//PAGEBREAK!
4241
# Complete the transition to 32-bit protected mode by using a long jmp
4342
# to reload %cs and %eip. The segment descriptors are set up with no
4443
# translation, so that the mapping is still the identity mapping.
4544
ljmpl $(SEG_KCODE<<3), $(start32)
4645

46+
//PAGEBREAK!
4747
.code32 # Tell assembler to generate 32-bit code now.
4848
start32:
4949
# Set up the protected-mode data segment registers

0 commit comments

Comments
 (0)