opengnsys_ipxe/src
Michael Brown 79419a1c69 [efi] Fill in loaded image's DeviceHandle if firmware fails to do so
Some EFI 1.10 implementations (observed with a mid-2011 iMac) seem to
fail to fill in the DeviceHandle for our loaded images.  It is
plausible that these implementations fill in the DeviceHandle only if
loading the image from a device path (rather than directly from a
memory buffer).

Work around this problem by filling in DeviceHandle if the firmware
leaves it empty.

We cannot sensibly fill in FilePath, because we have no way of knowing
whether or not the firmware will treat this as a pointer to be freed
when the image returns.

Reported-by: Curtis Larsen <larsen@dixie.edu>
Tested-by: Curtis Larsen <larsen@dixie.edu>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2014-07-30 16:16:10 +01:00
..
arch [efi] Default to releasing network devices for use via SNP 2014-07-30 14:27:07 +01:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [cmdline] Add "profstat" command to display profiling statistics 2014-04-27 23:14:47 +01:00
core [build] Expose build timestamp, build name, and product names 2014-06-24 15:32:35 +01:00
crypto [crypto] Fix debug message 2014-07-12 14:24:40 +01:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [xen] Add support for Xen netfront virtual NICs 2014-07-29 15:57:56 +01:00
hci [cmdline] Add "profstat" command to display profiling statistics 2014-04-27 23:14:47 +01:00
image [efi] Fill in loaded image's DeviceHandle if firmware fails to do so 2014-07-30 16:16:10 +01:00
include [efi] Default to releasing network devices for use via SNP 2014-07-30 14:27:07 +01:00
interface [efi] Default to releasing network devices for use via SNP 2014-07-30 14:27:07 +01:00
libgcc [build] Mark __intel_new_proc_init with __libgcc rather than cdecl 2009-08-03 15:56:10 +01:00
net [lacp] Set "aggregatable" flag in response LACPDU 2014-07-23 11:56:04 +01:00
tests [crypto] Add support for iPAddress subject alternative names 2014-07-11 16:55:14 +01:00
usr [lotest] Discard packets arriving on the incorrect network device 2014-07-29 15:20:49 +01:00
util [build] Merge util/geniso and util/genliso 2014-05-14 16:00:58 +01:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [xen] Add basic support for PV-HVM domains 2014-07-29 15:57:44 +01:00
Makefile.housekeeping [build] Fix erroneous object name in version object 2014-06-26 16:43:59 +01:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00