david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/image
Michael Brown 5d9fbf34ee [efi] Provide dummy device path in efi_image_probe()
Some UEFI platforms will fail the call to LoadImage() with
EFI_INVALID_PARAMETER if we do not provide a device path (even though
we are providing a non-NULL SourceBuffer).

Fix by providing an empty device path for the call to LoadImage() in
efi_image_probe().

The call to LoadImage() in efi_image_exec() already constructs and
provides a device path (based on the most recently opened SNP device),
and so does not require this fix.

Reported-by: NICOLAS CATTIE <nicolas.cattie@mpsa.com>
Tested-by: NICOLAS CATTIE <nicolas.cattie@mpsa.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2014-09-19 13:22:04 +01:00
..
efi_image.c [efi] Provide dummy device path in efi_image_probe() 2014-09-19 13:22:04 +01:00
elf.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
embedded.c [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
png.c [png] Add support for PNG images 2014-01-12 22:53:16 +01:00
pnm.c [pnm] Add support for PNM images 2013-11-27 11:27:51 +00:00
script.c [cmdline] Generate command option help text automatically 2013-11-07 17:00:51 +00:00
segment.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00