[efi] Add EFI image format and basic runtime environment
authorMichael Brown <mcb30@etherboot.org>
Sun, 12 Oct 2008 00:55:55 +0000 (01:55 +0100)
committerMichael Brown <mcb30@etherboot.org>
Mon, 13 Oct 2008 09:24:14 +0000 (10:24 +0100)
commit81d92c6d34f9ce68f7c2bbd5b92352b3a631bcd0
tree7bb6912503c83076ef9cad54a0503abc7aa19907
parent54c024e0af429e544137fb12002591cea50634a8
[efi] Add EFI image format and basic runtime environment

We have EFI APIs for CPU I/O, PCI I/O, timers, console I/O, user
access and user memory allocation.

EFI executables are created using the vanilla GNU toolchain, with the
EXE header handcrafted in assembly and relocations generated by a
custom efilink utility.
40 files changed:
src/Makefile
src/Makefile.housekeeping
src/arch/i386/Makefile
src/arch/i386/Makefile.efi [new file with mode: 0644]
src/arch/i386/include/bits/nap.h
src/arch/i386/include/gpxe/efi/efix86_nap.h [new file with mode: 0644]
src/arch/i386/interface/efi/efix86_nap.c [new file with mode: 0644]
src/arch/i386/prefix/efiprefix.S [new file with mode: 0644]
src/arch/i386/scripts/efi.lds [new file with mode: 0644]
src/config/defaults/efi.h [new file with mode: 0644]
src/config/general.h
src/core/config.c
src/image/efi_image.c [new file with mode: 0644]
src/include/gpxe/efi/IndustryStandard/PeImage.h [new file with mode: 0644]
src/include/gpxe/efi/Protocol/Cpu.h [new file with mode: 0644]
src/include/gpxe/efi/Protocol/CpuIo.h [new file with mode: 0644]
src/include/gpxe/efi/Protocol/DebugSupport.h [new file with mode: 0644]
src/include/gpxe/efi/Protocol/PciRootBridgeIo.h [new file with mode: 0644]
src/include/gpxe/efi/efi.h
src/include/gpxe/efi/efi_io.h [new file with mode: 0644]
src/include/gpxe/efi/efi_pci.h [new file with mode: 0644]
src/include/gpxe/efi/efi_timer.h [new file with mode: 0644]
src/include/gpxe/efi/efi_uaccess.h [new file with mode: 0644]
src/include/gpxe/efi/efi_umalloc.h [new file with mode: 0644]
src/include/gpxe/errfile.h
src/include/gpxe/features.h
src/include/gpxe/io.h
src/include/gpxe/pci_io.h
src/include/gpxe/timer.h
src/include/gpxe/uaccess.h
src/include/gpxe/umalloc.h
src/interface/efi/efi_console.c [new file with mode: 0644]
src/interface/efi/efi_entry.c [new file with mode: 0644]
src/interface/efi/efi_io.c [new file with mode: 0644]
src/interface/efi/efi_pci.c [new file with mode: 0644]
src/interface/efi/efi_timer.c [new file with mode: 0644]
src/interface/efi/efi_uaccess.c [new file with mode: 0644]
src/interface/efi/efi_umalloc.c [new file with mode: 0644]
src/util/.gitignore
src/util/efilink.c [new file with mode: 0644]