diff options
Diffstat (limited to 'src/cpu')
-rwxr-xr-x | src/cpu/amd/agesa/cache_as_ram.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cpu/amd/agesa/cache_as_ram.inc b/src/cpu/amd/agesa/cache_as_ram.inc index 389f7ec5f8..9b9be33db3 100755 --- a/src/cpu/amd/agesa/cache_as_ram.inc +++ b/src/cpu/amd/agesa/cache_as_ram.inc @@ -96,10 +96,14 @@ disable_cache_as_ram: AMD_DISABLE_STACK + /* enable cache */ + movl %cr0, %eax + andl $0x9fffffff, %eax + movl %eax, %cr0 + xorl %eax, %eax + /* Restore the return stack */ movd %xmm0, %esp ret cache_as_ram_setup_out: - - |