projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7406f82
)
efi_loader: set parent handle in efi_load_image
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 18 Oct 2017 16:13:20 +0000
(18:13 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 1 Dec 2017 12:22:55 +0000
(13:22 +0100)
The parent_handle of the loaded image must be set.
Set the system table.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index c77da8a9c1bd9a1adc253a8f5efc46541f40ea81..b1050e5fb46299cab6d081ad2a61d2229ca07a0d 100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-1282,6
+1282,8
@@
static efi_status_t EFIAPI efi_load_image(bool boot_policy,
return EFI_EXIT(EFI_UNSUPPORTED);
}
+ info->system_table = &systab;
+ info->parent_handle = parent_image;
*image_handle = info;
return EFI_EXIT(EFI_SUCCESS);