summaryrefslogtreecommitdiff
path: root/src/cpu/x86/pae
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-10-19 05:07:18 +0000
committerEric Biederman <ebiederm@xmission.com>2004-10-19 05:07:18 +0000
commita172d98233620f24d2566045e335fae0f0a43b46 (patch)
treee069d3b2e31285792e3849783a5c96d6518cd0d6 /src/cpu/x86/pae
parent5ea19c134f8c9bc99014b1c0ff661b59310a0d2a (diff)
- Fix bug with > 4GB of memory where PAE was left enabled.
Why didn't this show up until I had > 4GB on one cpu? git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1688 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/x86/pae')
-rw-r--r--src/cpu/x86/pae/pgtbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/x86/pae/pgtbl.c b/src/cpu/x86/pae/pgtbl.c
index 756cc53f65..8297281ba3 100644
--- a/src/cpu/x86/pae/pgtbl.c
+++ b/src/cpu/x86/pae/pgtbl.c
@@ -13,6 +13,7 @@ static void paging_off(void)
/* Disable pae */
"movl %%cr4, %%eax\n\t"
"andl $0xFFFFFFDF, %%eax\n\t"
+ "movl %%eax, %%cr4\n\t"
:
:
: "eax"