You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
5571d6d03e
There is an issue in current SBL Stage2 code to check if the UEFI payload is built from open source. It was done by checking the 1st DWORD using Dst[0]. However, during the FV loading, the value at Dst[0] might have been changed since LoadFvImage() can move the FV to a new location. This patch cached Dst[0] before calling LoadFvImage() so that it can always get the oringal value. It fixed #343. Signed-off-by: Maurice Ma <maurice.ma@intel.com>