summaryrefslogtreecommitdiff
path: root/src/arch/x86/post.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-11-30 15:56:59 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-12-05 08:19:17 +0000
commit7a359497cd83babdc5d3244a390cb775412105e6 (patch)
treeab346dffaa621ca95713f70b671126989aebc62e /src/arch/x86/post.c
parent22b42a87de7cbc680857e512bcd0651a47b9fbdb (diff)
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> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48175 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/arch/x86/post.c')
0 files changed, 0 insertions, 0 deletions