Hello build bot (Jenkins), Patrick Georgi, Martin Roth, Andrey Petrov, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48175
to look at the new patch set (#2).
Change subject: cpu/x86/64bit: Add code to call function in protected mode ......................................................................
cpu/x86/64bit: Add code to call function in protected mode
This adds a helper function for long mode to call some code in protected mode and return back to long mode.
The primary use case is to run binaries that have been compiled for protected mode, like the FSP or MRC binaries.
Tested on Intel Skylake. The FSP-M runs and returns without error while coreboot runs in long mode.
Change-Id: I22af2d224b546c0be9e7295330b4b6602df106d6 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- A src/arch/x86/include/mode_switch.h A src/cpu/x86/64bit/mode_switch.S M src/cpu/x86/Makefile.inc 3 files changed, 149 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/48175/2