diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-10-12 01:55:55 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-10-13 10:24:14 +0100 |
commit | 81d92c6d34f9ce68f7c2bbd5b92352b3a631bcd0 (patch) | |
tree | 7bb6912503c83076ef9cad54a0503abc7aa19907 /src/config | |
parent | 54c024e0af429e544137fb12002591cea50634a8 (diff) | |
download | ipxe-81d92c6d34f9ce68f7c2bbd5b92352b3a631bcd0.tar.gz |
[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.
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/defaults/efi.h | 20 | ||||
-rw-r--r-- | src/config/general.h | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h new file mode 100644 index 00000000..d980136a --- /dev/null +++ b/src/config/defaults/efi.h @@ -0,0 +1,20 @@ +#ifndef CONFIG_DEFAULTS_EFI_H +#define CONFIG_DEFAULTS_EFI_H + +/** @file + * + * Configuration defaults for EFI + * + */ + +#define UACCESS_EFI +#define IOAPI_EFI +#define PCIAPI_EFI +#define CONSOLE_EFI +#define TIMER_EFI +#define NAP_EFIX86 +#define UMALLOC_EFI + +#define IMAGE_EFI /* EFI image support */ + +#endif /* CONFIG_DEFAULTS_EFI_H */ diff --git a/src/config/general.h b/src/config/general.h index d18c9cca..3d9663b9 100644 --- a/src/config/general.h +++ b/src/config/general.h @@ -70,6 +70,7 @@ //#define IMAGE_SCRIPT /* gPXE script image support */ //#define IMAGE_BZIMAGE /* Linux bzImage image support */ //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */ +//#define IMAGE_EFI /* EFI image support */ /* * Command-line commands to include |