aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_image_loader.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-09-13 18:05:34 -0400
committerAlexander Graf <agraf@suse.de>2017-09-20 10:43:54 +0200
commit2a92080d8c4463f2ddbf4e3110c25ab55ef6ca3f (patch)
treed4c9ce6946b7cc3ccba693f1b0b138048c7e8794 /lib/efi_loader/efi_image_loader.c
parent95c5553ea268144056c4bafc318b9e8b5c096a6c (diff)
downloadu-boot-2a92080d8c4463f2ddbf4e3110c25ab55ef6ca3f.zip
u-boot-2a92080d8c4463f2ddbf4e3110c25ab55ef6ca3f.tar.gz
u-boot-2a92080d8c4463f2ddbf4e3110c25ab55ef6ca3f.tar.bz2
efi_loader: add file/filesys support
fallback.efi (and probably other things) use UEFI's simple-file-system protocol and file support to search for OS's to boot. Signed-off-by: Rob Clark <robdclark@gmail.com> [agraf: whitespace fixes, unsigned fixes] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader/efi_image_loader.c')
-rw-r--r--lib/efi_loader/efi_image_loader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_image_loader.c b/lib/efi_loader/efi_image_loader.c
index f961407..469acae 100644
--- a/lib/efi_loader/efi_image_loader.c
+++ b/lib/efi_loader/efi_image_loader.c
@@ -17,6 +17,9 @@ DECLARE_GLOBAL_DATA_PTR;
const efi_guid_t efi_guid_device_path = DEVICE_PATH_GUID;
const efi_guid_t efi_guid_loaded_image = LOADED_IMAGE_GUID;
+const efi_guid_t efi_simple_file_system_protocol_guid =
+ EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID;
+const efi_guid_t efi_file_info_guid = EFI_FILE_INFO_GUID;
static efi_status_t efi_loader_relocate(const IMAGE_BASE_RELOCATION *rel,
unsigned long rel_size, void *efi_reloc)