- 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
This commit is contained in:
Eric Biederman 2004-10-19 05:07:18 +00:00
parent 5ea19c134f
commit a172d98233
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ static void paging_off(void)
/* Disable pae */ /* Disable pae */
"movl %%cr4, %%eax\n\t" "movl %%cr4, %%eax\n\t"
"andl $0xFFFFFFDF, %%eax\n\t" "andl $0xFFFFFFDF, %%eax\n\t"
"movl %%eax, %%cr4\n\t"
: :
: :
: "eax" : "eax"