Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80242
b: refs/heads/master
c: 02a7b42
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin authored and Ingo Molnar committed Jan 30, 2008
1 parent c371161 commit 338dfd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 88089519f302f1296b4739be45699f06f728ec31
refs/heads/master: 02a7b425e82cd0052e5eaedbae81a522c6aae6c4
3 changes: 2 additions & 1 deletion trunk/arch/x86/boot/pmjump.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

#include <asm/boot.h>
#include <asm/processor-flags.h>
#include <asm/segment.h>

.text
Expand All @@ -39,7 +40,7 @@ protected_mode_jump:
movw $__BOOT_TSS, %di

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

0 comments on commit 338dfd3

Please sign in to comment.