diff options
| author | Michael Brown | 2014-07-26 12:22:36 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-07-26 12:24:24 +0200 |
| commit | 410f50c2eee0fa02e1e291c96bb7b6cea39a3c2b (patch) | |
| tree | 366535ea206aa4853b90080d5fe3092cf18c68b0 /src | |
| parent | [lacp] Set "aggregatable" flag in response LACPDU (diff) | |
| download | ipxe-410f50c2eee0fa02e1e291c96bb7b6cea39a3c2b.tar.gz ipxe-410f50c2eee0fa02e1e291c96bb7b6cea39a3c2b.tar.xz ipxe-410f50c2eee0fa02e1e291c96bb7b6cea39a3c2b.zip | |
[efi] Show more diagnostic information when building with DEBUG=efi_wrap
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/interface/efi/efi_debug.c | 1 | ||||
| -rw-r--r-- | src/interface/efi/efi_wrap.c | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/interface/efi/efi_debug.c b/src/interface/efi/efi_debug.c index 611f46cef..b7a786bfd 100644 --- a/src/interface/efi/efi_debug.c +++ b/src/interface/efi/efi_debug.c @@ -61,6 +61,7 @@ static struct efi_well_known_guid efi_well_known_guids[] = { { EFI_DISK_IO_PROTOCOL_GUID, "DiskIo" }, { EFI_DEVICE_PATH_PROTOCOL_GUID, "DevicePath" }, { EFI_LOADED_IMAGE_PROTOCOL_GUID, "LoadedImage" }, + { EFI_LOADED_IMAGE_DEVICE_PATH_PROTOCOL_GUID, "LoadedImageDevicePath" }, { EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID, "SimpleFileSystem" }, { EFI_SIMPLE_NETWORK_PROTOCOL_GUID, "SimpleNetwork" }, }; diff --git a/src/interface/efi/efi_wrap.c b/src/interface/efi/efi_wrap.c index 7a9e48ccc..b9b301184 100644 --- a/src/interface/efi/efi_wrap.c +++ b/src/interface/efi/efi_wrap.c @@ -227,11 +227,13 @@ void efi_wrap ( EFI_HANDLE handle, EFI_LOADED_IMAGE_PROTOCOL *loaded ) { /* Provide system table wrapper to image */ loaded->SystemTable = &efi_systab_wrapper; - DBGC ( colour, "Wrapped image %p %s at base %p\n", handle, - efi_handle_devpath_text ( handle ), loaded->ImageBase ); + DBGC ( colour, "Wrapped image %p %s at base %p has protocols:\n", + handle, efi_handle_devpath_text ( handle ), loaded->ImageBase ); + DBGC_EFI_PROTOCOLS ( colour, handle ); DBGC ( colour, "Parent image %p %s\n", loaded->ParentHandle, efi_handle_devpath_text ( loaded->ParentHandle ) ); DBGC ( colour, "Device %p %s ", loaded->DeviceHandle, efi_handle_devpath_text ( loaded->DeviceHandle ) ); - DBGC ( colour, "file %s\n", efi_devpath_text ( loaded->FilePath ) ); + DBGC ( colour, "file %p %s\n", loaded->FilePath, + efi_devpath_text ( loaded->FilePath ) ); } |
