[PATCH v2 08/10] arm64: efi: add EFI stub
Matt Fleming
matt at console-pimps.org
Tue Apr 29 04:27:20 PDT 2014
On Fri, 25 Apr, at 05:09:12PM, Leif Lindholm wrote:
> From: Mark Salter <msalter at redhat.com>
>
> This patch adds PE/COFF header fields to the start of the kernel
> Image so that it appears as an EFI application to UEFI firmware.
> An EFI stub is included to allow direct booting of the kernel
> Image.
>
> Signed-off-by: Mark Salter <msalter at redhat.com>
> [Add support in PE/COFF header for signed images]
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Signed-off-by: Leif Lindholm <leif.lindholm at linaro.org>
> ---
> arch/arm64/Kconfig | 5 +-
> arch/arm64/kernel/Makefile | 4 +-
> arch/arm64/kernel/efi-entry.S | 109 +++++++++++++++++
> arch/arm64/kernel/efi-stub.c | 81 +++++++++++++
> arch/arm64/kernel/head.S | 112 ++++++++++++++++++
> drivers/firmware/efi/arm-stub.c | 247 +++++++++++++++++++++++++++++++++++++++
> 6 files changed, 555 insertions(+), 3 deletions(-)
> create mode 100644 arch/arm64/kernel/efi-entry.S
> create mode 100644 arch/arm64/kernel/efi-stub.c
> create mode 100644 drivers/firmware/efi/arm-stub.c
For the drivers/firmware/efi/arm-stub.c bits,
Acked-by: Matt Fleming <matt.fleming at intel.com>
--
Matt Fleming, Intel Open Source Technology Center
More information about the linux-arm-kernel
mailing list