efi: Add UEFI firmware backend
authorMatt Fleming <matt.fleming@intel.com>
Fri, 2 Dec 2011 18:02:09 +0000 (18:02 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 16 Dec 2011 16:31:19 +0000 (16:31 +0000)
commitd1195567fe9e6b580b04c73d78bb923383ac2dc9
tree5681a2f6d895cc280999c491f46777192d713bfb
parent04303c2561333b937c30e37732cefe1df0abb280
efi: Add UEFI firmware backend

This commit adds 32-bit support for a Unified Extensible Firmware
Interface backend.

We use a wrapper program to create an EFI exe with only the minimum
number of sections becaues the EFI loader doesn't like certain section
sections, such as .gnu.hash, which we require for resolving symbols
when ELF modules are loaded.

We're currently including a lot more symbols than are necessary in
efi/main.c so that the code compiles. Some of them are BIOS specific
but I haven't got around to fixing up the core to not reference them
directly yet.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Makefile
efi/Makefile [new file with mode: 0644]
efi/console.c [new file with mode: 0644]
efi/efi.h [new file with mode: 0644]
efi/main.c [new file with mode: 0644]
efi/syslinux.ld [new file with mode: 0644]
efi/wrapper.c [new file with mode: 0644]
efi/wrapper.h [new file with mode: 0644]
mk/efi.mk [new file with mode: 0644]