1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-08 20:39:19 +01:00
Files
u-boot-megous/include/pe.h
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

9.0 KiB