public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] OvmfPkg: remove PlatformBootManagerLibGrub
@ 2023-05-04 13:32 Gerd Hoffmann
  2023-05-04 13:32 ` [PATCH 1/3] OvmfPkg/PlatformBootManagerLib: add PcdBootRestrictToFirmware Gerd Hoffmann
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Gerd Hoffmann @ 2023-05-04 13:32 UTC (permalink / raw)
  To: devel
  Cc: Jiewen Yao, Erdem Aktas, Min Xu, Tom Lendacky, Jordan Justen,
	Stefan Berger, Julien Grall, Anthony Perard,
	Marc-André Lureau, Ard Biesheuvel, Oliver Steffen,
	James Bottomley, Pawel Polawski, Michael Roth, Gerd Hoffmann

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-04 15:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 13:32 [PATCH 0/3] OvmfPkg: remove PlatformBootManagerLibGrub Gerd Hoffmann
2023-05-04 13:32 ` [PATCH 1/3] OvmfPkg/PlatformBootManagerLib: add PcdBootRestrictToFirmware Gerd Hoffmann
2023-05-04 13:32 ` [PATCH 2/3] OvmfPkg/AmdSev: stop using PlatformBootManagerLibGrub Gerd Hoffmann
2023-05-04 14:16   ` James Bottomley
2023-05-04 15:08     ` Gerd Hoffmann
2023-05-04 15:14       ` [edk2-devel] " James Bottomley
2023-05-04 13:32 ` [PATCH 3/3] OvmfPkg: drop PlatformBootManagerLibGrub Gerd Hoffmann
2023-05-04 13:44 ` [PATCH 0/3] OvmfPkg: remove PlatformBootManagerLibGrub Yao, Jiewen
2023-05-04 14:02 ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox