Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99586
b: refs/heads/master
c: 2ee2394
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin authored and Ingo Molnar committed Jul 1, 2008
1 parent 96e3910 commit e49d09e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 908ec7afacfdc83dc10938ed1d3c38b3526034ec
refs/heads/master: 2ee2394b682c0ee99b0f083abe6c57727e6edb69
4 changes: 2 additions & 2 deletions trunk/arch/x86/boot/pmjump.S
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ protected_mode_jump:
movw %cs, %bx
shll $4, %ebx
addl %ebx, 2f
jmp 1f # Short jump to serialize on 386/486
1:

movw $__BOOT_DS, %cx
movw $__BOOT_TSS, %di

movl %cr0, %edx
orb $X86_CR0_PE, %dl # Protected mode
movl %edx, %cr0
jmp 1f # Short jump to serialize on 386/486
1:

# Transition to 32-bit mode
.byte 0x66, 0xea # ljmpl opcode
Expand Down

0 comments on commit e49d09e

Please sign in to comment.