]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: pass system table in loaded image protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 26 Aug 2018 13:31:52 +0000 (15:31 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:28 +0000 (21:55 +0200)
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>
lib/efi_loader/efi_boottime.c

index ca61e1ad411992520bc414beb380dcf1801980af..c9a52dabc5fd75e4c60d3ee7dac606ef0bb28f81 100644 (file)
@@ -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);