(cc Liming) I'd like to merge this series before the stable tag - any objections?
On Fri, 5 May 2023 at 07:28, Gerd Hoffmann <kra...@redhat.com> wrote: > > 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. > > v2: > - rebase to latest master > - add patch to disable NvVarsFileLib (James) > - pick up acks > > Gerd Hoffmann (4): > OvmfPkg/PlatformBootManagerLib: add PcdBootRestrictToFirmware > OvmfPkg/NvVarsFileLib: disable in case PcdBootRestrictToFirmware is > set > OvmfPkg/AmdSev: stop using PlatformBootManagerLibGrub > OvmfPkg: drop PlatformBootManagerLibGrub > > OvmfPkg/OvmfPkg.dec | 3 + > OvmfPkg/AmdSev/AmdSevX64.dsc | 10 +- > .../Library/NvVarsFileLib/NvVarsFileLib.inf | 1 + > .../PlatformBootManagerLib.inf | 2 + > .../PlatformBootManagerLibGrub.inf | 73 - > .../PlatformBootManagerLibGrub/BdsPlatform.h | 185 -- > OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.c | 3 +- > .../PlatformBootManagerLib/BdsPlatform.c | 70 +- > .../PlatformBootManagerLibGrub/BdsPlatform.c | 1604 ----------------- > .../PlatformBootManagerLibGrub/PlatformData.c | 212 --- > .../PlatformBootManagerLibGrub/QemuKernel.c | 55 - > 11 files changed, 82 insertions(+), 2136 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 (#104496): https://edk2.groups.io/g/devel/message/104496 Mute This Topic: https://groups.io/mt/98699873/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-