aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-10-26 19:25:43 +0200
committerAlexander Graf <agraf@suse.de>2017-12-01 13:22:56 +0100
commitaf1408e080e21b1bf04c24740ceb39f118c3293b (patch)
treeb2e703616771b8c9c319679354b88abd0d969320 /lib
parent62471e46cd12dd4c357b4fe6891668e3abbf5edf (diff)
downloadu-boot-af1408e080e21b1bf04c24740ceb39f118c3293b.zip
u-boot-af1408e080e21b1bf04c24740ceb39f118c3293b.tar.gz
u-boot-af1408e080e21b1bf04c24740ceb39f118c3293b.tar.bz2
efi_loader: debug output efi_install_protocol_interface
efi_install_protocol_interface should provide the created or provided handle in the debug output. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index f64db41..3977593 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) {