Home
last modified time | relevance | path

Searched hist:"61 a5ced6" (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/include/
H A Dpe.h61a5ced6 Thu Apr 05 20:32:06 CDT 2018 Ivan Gorinov <ivan.gorinov@intel.com> 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>
/openbmc/u-boot/lib/efi_loader/
H A Defi_image_loader.c61a5ced6 Thu Apr 05 20:32:06 CDT 2018 Ivan Gorinov <ivan.gorinov@intel.com> 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>