slimbootloader/BootloaderCorePkg
Atharva Lele 1c807e51fa
Fix OsLoader handling of non-container images and remove PcdContainerBootEnabled (#1843)
* OsLoader: set default status to EFI_UNSUPPORTED when parsing a boot image

This was set to EFI_SUCCESS which resulted in ParseBootImages() returning
EFI_SUCCESS even if the boot image was not a container or a component.

Thus, the boot would continue and fail at a later stage due to the
LoadedImage structure not being populated correctly.

Setting it to EFI_UNSUPPORTED will result in ParseBootImages() returning
EFI_UNSUPPORTED if a non-supported boot image is provided and OsLoader
will attempt to boot the next entry in the boot options list.

Signed-off-by: Atharva Lele <atharva.lele@intel.com>

* Remove PcdContainerBootEnabled PCD

SBL requires boot images to be packaged as a container or a component

Signed-off-by: Atharva Lele <atharva.lele@intel.com>

---------

Signed-off-by: Atharva Lele <atharva.lele@intel.com>
2023-03-10 14:14:13 -08:00
..
Include Consider Simultaneous SG02 Corruptions in BP0 and BP1 for Resiliency 2022-10-18 14:49:32 -07:00
IncludePrivate [EHL] Revert the WA for POSC issue Pt2 2022-01-13 08:11:10 -08:00
Library fix: [ADL/RPL] Move NVME boot option update to PCI Enumeration hook. 2023-02-22 15:19:56 -07:00
PcdData Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Stage1A Move TCO timer start and TCO status check to SG1B 2022-12-02 12:50:59 -07:00
Stage1B Cast FW blob pointers to UINTN then UINT64 2023-03-06 10:48:47 -07:00
Stage2 Replace shutdown with TCO timer stop and CPU halt 2023-01-04 10:21:47 -07:00
Tools fix: correct the default key for signing BOOT container (#1830) 2023-02-09 15:04:22 -08:00
BootloaderCorePkg.dec feat: Add support for FSP Reset request value in ResetSystemLib. (#1825) 2023-02-03 16:49:18 -05:00
BootloaderCorePkg.dsc Fix OsLoader handling of non-container images and remove PcdContainerBootEnabled (#1843) 2023-03-10 14:14:13 -08:00
BootloaderCorePkg.fdf Use LF line endings in the repository 2021-11-10 12:46:42 -08:00