]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: provide a generic implementation of QemuLoadImageLib
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 28 Feb 2020 16:26:54 +0000 (17:26 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 5 Mar 2020 19:45:05 +0000 (19:45 +0000)
commitddd2be6b0026abcd0f819b3915fc80c3de81dd62
treef9278a912f4a6d9e25305abe34fbb3eb6881867f
parent28de1a5550c08f889cf231023945095778c90825
OvmfPkg: provide a generic implementation of QemuLoadImageLib

Implement QemuLoadImageLib, and make it load the image provided by the
QEMU_EFI_LOADER_FS_MEDIA_GUID/kernel device path that we implemented
in a preceding patch in a separate DXE driver, using only the standard
LoadImage and StartImage boot services.

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>
OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.c [new file with mode: 0644]
OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf [new file with mode: 0644]