From 6c7441f5e6e667b6602aa12832a52894cf06dd89 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sat, 5 Dec 2020 08:39:57 +0200 Subject: cpu/x86: Rename __protected_start symbol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was confusing to have this defined while there was another symbol bootblock_protected_mode_entry that was not really used as an entry point. Change-Id: I3da07ba9c0a9fc15b1515452adfb27f963659951 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/48404 Reviewed-by: Raul Rangel Reviewed-by: Arthur Heymans Reviewed-by: Marshall Dawson Reviewed-by: Jason Glenesk Tested-by: build bot (Jenkins) --- src/cpu/x86/entry32.S | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/cpu/x86/entry32.S') diff --git a/src/cpu/x86/entry32.S b/src/cpu/x86/entry32.S index 32f61ad261..639ab36a57 100644 --- a/src/cpu/x86/entry32.S +++ b/src/cpu/x86/entry32.S @@ -25,8 +25,9 @@ */ .align 4 -.globl __protected_start -__protected_start: +.globl bootblock_protected_mode_entry +bootblock_protected_mode_entry: + /* Save the BIST value */ movl %eax, %ebp @@ -54,14 +55,14 @@ debug_spinloop: jz debug_spinloop #endif -bootblock_protected_mode_entry: - #if !CONFIG(USE_MARCH_586) /* MMX registers required here */ /* BIST result in eax */ movd %eax, %mm0 +__timestamp: + /* Get an early timestamp */ rdtsc movd %eax, %mm1 -- cgit v1.2.3