aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-08-26 15:31:52 +0200
committerAlexander Graf <agraf@suse.de>2018-09-23 21:55:28 +0200
commit7e1effcef66d2d710ea421ebaee87a3f218f8bee (patch)
tree5b4b8f9350c43c952bedcc4cf7c75b8d6182cacc /lib
parente470efd2d909ace1cae328d62d56d2a0c0c00462 (diff)
downloadu-boot-7e1effcef66d2d710ea421ebaee87a3f218f8bee.zip
u-boot-7e1effcef66d2d710ea421ebaee87a3f218f8bee.tar.gz
u-boot-7e1effcef66d2d710ea421ebaee87a3f218f8bee.tar.bz2
efi_loader: pass system table in loaded image protocol
The system table must be passed as a pointer in the loaded image protocol. 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index ca61e1a..c9a52da 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -1492,6 +1492,7 @@ efi_status_t efi_setup_loaded_image(
info->revision = EFI_LOADED_IMAGE_PROTOCOL_REVISION;
info->file_path = file_path;
+ info->system_table = &systab;
if (device_path) {
info->device_handle = efi_dp_find_obj(device_path, NULL);