[U-Boot] [PATCH 02/18] efi_loader: debug output efi_install_protocol_interface
Heinrich Schuchardt
xypron.glpk at gmx.de
Thu Oct 26 17:25:43 UTC 2017
efi_install_protocol_interface should provide the created or
provided handle in the debug output.
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
lib/efi_loader/efi_boottime.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index 871a8769ea..f2f9e87635 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -732,6 +732,11 @@ static efi_status_t EFIAPI efi_install_protocol_interface(
r = efi_create_handle(handle);
if (r != EFI_SUCCESS)
goto out;
+ debug("%sEFI: new handle %p\n", indent_string(nesting_level),
+ *handle);
+ } else {
+ debug("%sEFI: handle %p\n", indent_string(nesting_level),
+ *handle);
}
/* Find object. */
list_for_each(lhandle, &efi_obj_list) {
--
2.11.0
More information about the U-Boot
mailing list