cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR
Change-Id: I4a4e988d38b548e1c88ffcc5f5ada2e91ff6ba91 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48178 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
547e5572cf
commit
40dc53a1a1
1 changed files with 2 additions and 1 deletions
|
@ -23,9 +23,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
drop_longmode:
|
drop_longmode:
|
||||||
|
#if !ENV_CACHE_AS_RAM
|
||||||
/* Ensure cache is clean. */
|
/* Ensure cache is clean. */
|
||||||
wbinvd
|
wbinvd
|
||||||
|
#endif
|
||||||
/* Set 32-bit code segment and ss */
|
/* Set 32-bit code segment and ss */
|
||||||
mov $CODE_SEG, %rcx
|
mov $CODE_SEG, %rcx
|
||||||
/* SetCodeSelector32 will drop us to protected mode on return */
|
/* SetCodeSelector32 will drop us to protected mode on return */
|
||||||
|
|
Loading…
Reference in a new issue