You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
1002d880a2
Since SBL could be built into either x86 or x64 mode, and the payload can also be x86 or x64 mode. When mixed modes are used, it is required to switch to proper mode first before calling into payload entrypoint. This patch added this check to switch to required mode before calling into payload entry point. Signed-off-by: Maurice Ma <maurice.ma@intel.com>