Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99374
b: refs/heads/master
c: e83e31f
h: refs/heads/master
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Thomas Gleixner committed May 25, 2008
1 parent 68c0bb2 commit 4f7fea5
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 369101da7e3f6f971b7303922d2978b8483241c6
refs/heads/master: e83e31f41a623262714d9c56dde7dfc51ac078f7
5 changes: 3 additions & 2 deletions trunk/arch/x86/boot/compressed/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <asm/page.h>
#include <asm/boot.h>
#include <asm/msr.h>
#include <asm/processor-flags.h>
#include <asm/asm-offsets.h>

.section ".text.head"
Expand Down Expand Up @@ -109,7 +110,7 @@ startup_32:

/* Enable PAE mode */
xorl %eax, %eax
orl $(1 << 5), %eax
orl $(X86_CR4_PAE), %eax
movl %eax, %cr4

/*
Expand Down Expand Up @@ -170,7 +171,7 @@ startup_32:
pushl %eax

/* Enter paged protected Mode, activating Long Mode */
movl $0x80000001, %eax /* Enable Paging and Protected mode */
movl $(X86_CR0_PG | X86_CR0_PE), %eax /* Enable Paging and Protected mode */
movl %eax, %cr0

/* Jump from 32bit compatibility mode into 64bit mode. */
Expand Down

0 comments on commit 4f7fea5

Please sign in to comment.