ArmVirtPkg/PlatformBootManagerLib: switch to separate QEMU loader

Drop the QEMU loader file system implementation inside this library,
and switch to the separate QemuLoadImageLib library and the associated
driver to expose the kernel and initrd passed via the QEMU command line.

Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2566
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Ard Biesheuvel 2020-02-28 17:32:35 +01:00 committed by mergify[bot]
parent e569fbd205
commit 364e0b4cda
2 changed files with 7 additions and 1063 deletions

View File

@ -44,9 +44,8 @@
MemoryAllocationLib MemoryAllocationLib
PcdLib PcdLib
PlatformBmPrintScLib PlatformBmPrintScLib
PrintLib
QemuBootOrderLib QemuBootOrderLib
QemuFwCfgLib QemuLoadImageLib
ReportStatusCodeLib ReportStatusCodeLib
UefiBootManagerLib UefiBootManagerLib
UefiBootServicesTableLib UefiBootServicesTableLib
@ -64,19 +63,13 @@
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
[Guids] [Guids]
gEfiFileInfoGuid
gEfiFileSystemInfoGuid
gEfiFileSystemVolumeLabelInfoIdGuid
gEfiEndOfDxeEventGroupGuid gEfiEndOfDxeEventGroupGuid
gEfiGlobalVariableGuid gEfiGlobalVariableGuid
gRootBridgesConnectedEventGroupGuid gRootBridgesConnectedEventGroupGuid
gUefiShellFileGuid gUefiShellFileGuid
[Protocols] [Protocols]
gEfiDevicePathProtocolGuid
gEfiFirmwareVolume2ProtocolGuid gEfiFirmwareVolume2ProtocolGuid
gEfiGraphicsOutputProtocolGuid gEfiGraphicsOutputProtocolGuid
gEfiLoadedImageProtocolGuid
gEfiPciRootBridgeIoProtocolGuid gEfiPciRootBridgeIoProtocolGuid
gEfiSimpleFileSystemProtocolGuid
gVirtioDeviceProtocolGuid gVirtioDeviceProtocolGuid

File diff suppressed because it is too large Load Diff