efi_loader: Add PE image loader
authorAlexander Graf <agraf@suse.de>
Fri, 4 Mar 2016 00:09:58 +0000 (01:09 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 19:19:23 +0000 (15:19 -0400)
commitcb149c66342ce07b9fa45cb8d4d98081aab1afbb
tree43cf620686df17bc3d0250c522036961ff656c43
parent2bb9b79d64ca5112af3147a267ece894945aa470
efi_loader: Add PE image loader

EFI uses the PE binary format for its application images. Add support to EFI PE
binaries as well as all necessary bits for the "EFI image loader" interfaces.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
include/efi_loader.h [new file with mode: 0644]
include/pe.h [new file with mode: 0644]
lib/efi_loader/efi_image_loader.c [new file with mode: 0644]