From: Heinrich Schuchardt Date: Sun, 26 Aug 2018 13:31:52 +0000 (+0200) Subject: efi_loader: pass system table in loaded image protocol X-Git-Tag: v2018.11-rc1~82^2~107 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7e1effcef66d2d710ea421ebaee87a3f218f8bee;p=oweals%2Fu-boot.git 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 Signed-off-by: Alexander Graf --- diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index ca61e1ad41..c9a52dabc5 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);