From a172d98233620f24d2566045e335fae0f0a43b46 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Tue, 19 Oct 2004 05:07:18 +0000 Subject: - 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 --- src/cpu/x86/pae/pgtbl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cpu/x86') 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" -- cgit v1.2.3