Просмотр исходного кода

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>
Heinrich Schuchardt 7 лет назад
Родитель
Сommit
af1408e080
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      lib/efi_loader/efi_boottime.c

+ 5 - 0
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) {