Skip to content

Commit

Permalink
ArmVirtPkg/PlatformBmLib: provide LoadFile2 interface for initrd loading
Browse files Browse the repository at this point in the history
Implement the new and more generic way of exposing the initrd data to
the Linux kernel, via the LoadFile2 protocol. This way, there is no
longer a need to provide the complicated simple filesystem protocol
at all, given that we can use LoadFile for the kernel image itself.

Note that this approach is intended to be usable across architectures,
by taking the setup_data QEMU fwcfg blob into account as well, which
is only populated on x86.

Signed-off-by: Ard Biesheuvel <[email protected]>
  • Loading branch information
Ard Biesheuvel committed Feb 14, 2020
1 parent bd85bf5 commit d637deb
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 935 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut

[Guids]
gEfiFileInfoGuid
gEfiFileSystemInfoGuid
gEfiFileSystemVolumeLabelInfoIdGuid
gEfiEndOfDxeEventGroupGuid
gRootBridgesConnectedEventGroupGuid
gUefiShellFileGuid
Expand All @@ -76,6 +73,7 @@
gEfiFirmwareVolume2ProtocolGuid
gEfiGraphicsOutputProtocolGuid
gEfiLoadedImageProtocolGuid
gEfiLoadFileProtocolGuid
gEfiLoadFile2ProtocolGuid
gEfiPciRootBridgeIoProtocolGuid
gEfiSimpleFileSystemProtocolGuid
gVirtioDeviceProtocolGuid
Loading

0 comments on commit d637deb

Please sign in to comment.