From deda99783312ee0567465e87d4974bc434b27dcc Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 3 Apr 2012 16:09:46 -0700 Subject: [PATCH] Invalidate cache before first jump Some CPUs (Sandybridge) seem to require this, and it does not hurt on other CPUs. Change-Id: I4fdb281b2b684ab5fea999aae28ca08dce24da4d Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/869 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- src/cpu/x86/16bit/reset16.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpu/x86/16bit/reset16.inc b/src/cpu/x86/16bit/reset16.inc index 1be0e3a94..8dba3c836 100644 --- a/src/cpu/x86/16bit/reset16.inc +++ b/src/cpu/x86/16bit/reset16.inc @@ -2,6 +2,7 @@ .code16 .globl reset_vector reset_vector: + wbinvd .byte 0xe9 .int _start - ( . + 2 ) /* Note: The above jump is hand coded to work around bugs in binutils. -- 2.25.1