diff options
author | Michael Brown | 2014-07-31 13:28:26 +0200 |
---|---|---|
committer | Michael Brown | 2014-07-31 13:50:14 +0200 |
commit | 16d99cc8ef3b816072e78c2d640e193d0359163f (patch) | |
tree | d67c4ea6b805344e877259d15bb922f5d3c2ff85 /src/interface/efi/efi_file.c | |
parent | [efi] Avoid unnecessarily passing pointers to EFI_HANDLEs (diff) | |
download | ipxe-16d99cc8ef3b816072e78c2d640e193d0359163f.tar.gz ipxe-16d99cc8ef3b816072e78c2d640e193d0359163f.tar.xz ipxe-16d99cc8ef3b816072e78c2d640e193d0359163f.zip |
[efi] Dump existing openers when we are unable to open a protocol
Dump the existing openers of a protocol whenever we are unable to open
a protocol using attributes of BY_DEVICE, EXCLUSIVE, or
BY_CHILD_CONTROLLER.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_file.c')
-rw-r--r-- | src/interface/efi/efi_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/efi/efi_file.c b/src/interface/efi/efi_file.c index aafc781a..06049fc9 100644 --- a/src/interface/efi/efi_file.c +++ b/src/interface/efi/efi_file.c @@ -631,6 +631,7 @@ int efi_file_install ( EFI_HANDLE handle ) { rc = -EEFI ( efirc ); DBGC ( handle, "Could not open disk I/O protocol: %s\n", strerror ( rc ) ); + DBGC_EFI_OPENERS ( handle, handle, &efi_disk_io_protocol_guid ); goto err_open; } assert ( diskio.diskio == &efi_disk_io_protocol ); |