瀏覽代碼

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>
Heinrich Schuchardt 6 年之前
父節點
當前提交
7e1effcef6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/efi_loader/efi_boottime.c

+ 1 - 0
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);