u-boot/lib/efi_loader
Ivan Gorinov 61a5ced6ad efi_loader: Check machine type in the image header
Check FileHeader.Machine to make sure the EFI executable image is built
for the same architecture. For example, 32-bit U-Boot on x86 will print
an error message instead of loading an x86_64 image and crashing.

Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-04-06 09:28:01 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_bootmgr.c efi_loader: consistently use %pD to print device paths 2018-01-28 21:37:13 +01:00
efi_boottime.c efi_loader: use correct types in EFI_FILE_PROTOCOL 2018-04-04 11:39:27 +02:00
efi_console.c efi_loader: implement event groups 2018-04-04 11:00:07 +02:00
efi_device_path.c efi_loader: initialize device path on alloc 2018-04-04 11:22:35 +02:00
efi_device_path_to_text.c efi_loader: text output for device path end node 2018-01-22 23:09:12 +01:00
efi_device_path_utilities.c efi_loader: Initial EFI_DEVICE_PATH_UTILITIES_PROTOCOL 2018-04-04 11:00:06 +02:00
efi_disk.c efi_loader: correct efi_disk_register 2018-02-10 00:25:49 +01:00
efi_file.c efi_loader: implement EFI_FILE_SYSTEM_INFO 2018-04-05 10:01:45 +02:00
efi_gop.c efi_loader: Optimize GOP more 2018-04-04 11:08:59 +02:00
efi_image_loader.c efi_loader: Check machine type in the image header 2018-04-06 09:28:01 +02:00
efi_memory.c efi: Correct header order in efi_memory 2018-04-04 11:00:07 +02:00
efi_net.c efi_loader: completely initialize network 2018-04-05 18:09:31 +02:00
efi_runtime.c efi_loader: Fix return value for efi_add_runtime_mmio 2018-04-04 11:09:06 +02:00
efi_smbios.c efi_loader: efi_smbios_register should have a return value 2018-04-04 11:00:06 +02:00
efi_variable.c efi_loader: print GUIDs 2017-09-20 11:10:42 +02:00
efi_watchdog.c efi_loader: implement event groups 2018-04-04 11:00:07 +02:00
helloworld.c efi_loader: show UEFI revision in helloworld 2018-04-04 11:00:07 +02:00
Kconfig Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig 2018-02-08 19:09:03 -05:00
Makefile efi_loader: Initial EFI_DEVICE_PATH_UTILITIES_PROTOCOL 2018-04-04 11:00:06 +02:00