From 2a40ebca9c21c527afd683beeec51a5fa5a77588 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Mon, 21 Nov 2011 08:16:20 +0200 Subject: Fix post_code in 16bit entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relocate early post_code() so it gets executed and does not corrupt BIST at %eax. Change-Id: Ieeebcb23f7c327e501b410eaa60d1e49110ee988 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/439 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/x86/16bit/entry16.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu/x86/16bit') diff --git a/src/cpu/x86/16bit/entry16.inc b/src/cpu/x86/16bit/entry16.inc index 9f4c0e38da..9b7b69c4b7 100644 --- a/src/cpu/x86/16bit/entry16.inc +++ b/src/cpu/x86/16bit/entry16.inc @@ -36,6 +36,8 @@ _start: /* Save the BIST result */ movl %eax, %ebp + post_code(POST_RESET_VECTOR_CORRECT) + /* thanks to kmliu@sis.tw.com for this TBL fix ... */ /**/ /* IMMEDIATELY invalidate the translation lookaside buffer before executing*/ -- cgit v1.2.3