diff options
-rw-r--r-- | src/cpu/x86/64bit/exit32.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/x86/64bit/exit32.inc b/src/cpu/x86/64bit/exit32.inc index 6722cfdf3f..91cccb535e 100644 --- a/src/cpu/x86/64bit/exit32.inc +++ b/src/cpu/x86/64bit/exit32.inc @@ -23,9 +23,10 @@ #endif drop_longmode: +#if !ENV_CACHE_AS_RAM /* Ensure cache is clean. */ wbinvd - +#endif /* Set 32-bit code segment and ss */ mov $CODE_SEG, %rcx /* SetCodeSelector32 will drop us to protected mode on return */ |