An attempt to reduce code duplication a bit. PlatformBootManagerLibGrub is an (outdated) copy of PlatformBootManagerLib with some policy changes. Add a PCD to enable this policy and add support for that to PlatformBootManagerLib, which in turn allows to remove PlatformBootManagerLibGrub.
Gerd Hoffmann (3): OvmfPkg/PlatformBootManagerLib: add PcdBootRestrictToFirmware OvmfPkg/AmdSev: stop using PlatformBootManagerLibGrub OvmfPkg: drop PlatformBootManagerLibGrub OvmfPkg/OvmfPkg.dec | 3 + OvmfPkg/AmdSev/AmdSevX64.dsc | 10 +- .../PlatformBootManagerLib.inf | 2 + .../PlatformBootManagerLibGrub.inf | 73 - .../PlatformBootManagerLibGrub/BdsPlatform.h | 185 -- .../PlatformBootManagerLib/BdsPlatform.c | 70 +- .../PlatformBootManagerLibGrub/BdsPlatform.c | 1604 ----------------- .../PlatformBootManagerLibGrub/PlatformData.c | 212 --- .../PlatformBootManagerLibGrub/QemuKernel.c | 55 - 9 files changed, 79 insertions(+), 2135 deletions(-) delete mode 100644 OvmfPkg/Library/PlatformBootManagerLibGrub/PlatformBootManagerLibGrub.inf delete mode 100644 OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.h delete mode 100644 OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c delete mode 100644 OvmfPkg/Library/PlatformBootManagerLibGrub/PlatformData.c delete mode 100644 OvmfPkg/Library/PlatformBootManagerLibGrub/QemuKernel.c -- 2.40.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#103996): https://edk2.groups.io/g/devel/message/103996 Mute This Topic: https://groups.io/mt/98683757/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-