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

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


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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-05  5:17 [PATCH v2 0/4] OvmfPkg: remove PlatformBootManagerLibGrub Gerd Hoffmann
2023-05-05  5:17 ` [PATCH v2 1/4] OvmfPkg/PlatformBootManagerLib: add PcdBootRestrictToFirmware Gerd Hoffmann
2023-05-05  5:17 ` [PATCH v2 2/4] OvmfPkg/NvVarsFileLib: disable in case PcdBootRestrictToFirmware is set Gerd Hoffmann
2023-05-05  5:17 ` [PATCH v2 3/4] OvmfPkg/AmdSev: stop using PlatformBootManagerLibGrub Gerd Hoffmann
2023-05-05  5:17 ` [PATCH v2 4/4] OvmfPkg: drop PlatformBootManagerLibGrub Gerd Hoffmann
2023-05-10  7:12 ` [PATCH v2 0/4] OvmfPkg: remove PlatformBootManagerLibGrub Ard Biesheuvel
2023-05-10  7:41   ` 回复: " gaoliming
2023-05-10 12:33     ` [edk2-devel] " Ard Biesheuvel
2023-05-10 12:43       ` Ard Biesheuvel
2023-05-10 15:07         ` Ard Biesheuvel

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