diff options
author | Patrick Rudolph <siro@das-labor.org> | 2019-11-15 12:31:18 +0100 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2020-09-29 12:27:04 +0000 |
commit | dc2f0e39aea48ca008703b9c71708629911920e9 (patch) | |
tree | 65c87dfdbb557e35c181b2713835c669c0623c36 /src/arch/x86 | |
parent | 20f580b6f9238e5f80b8888a9fd6addd86c8c5a7 (diff) | |
download | coreboot-dc2f0e39aea48ca008703b9c71708629911920e9.tar.xz |
cpu/qemu-x86/car: Move long mode entry right before c entry
This fixes non-emulation platforms as those are using 32bit code
after the bootblock_crt0 entry, like setting up CAR and updating
microcode, which isn't yet converted to support long mode.
This is a noop for the only supported x86_64 platform and all
x86_32 platforms.
Change-Id: I45e56ed8db9a44c00cd61e962bb82f27926eb23f
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37370
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/bootblock_crt0.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/arch/x86/bootblock_crt0.S b/src/arch/x86/bootblock_crt0.S index 9f45413e70..3f41464f87 100644 --- a/src/arch/x86/bootblock_crt0.S +++ b/src/arch/x86/bootblock_crt0.S @@ -20,12 +20,6 @@ #include <cpu/x86/16bit/reset16.inc> #include <cpu/x86/32bit/entry32.inc> - /* BIST result in eax */ - mov %eax, %ebx - /* entry64.inc preserves ebx. */ -#include <cpu/x86/64bit/entry64.inc> - mov %ebx, %eax - #if CONFIG(BOOTBLOCK_DEBUG_SPINLOOP) /* Wait for a JTAG debugger to break in and set EBX non-zero */ |