diff options
author | Michael Brown | 2015-10-19 21:01:19 +0200 |
---|---|---|
committer | Michael Brown | 2016-05-06 13:08:44 +0200 |
commit | 1a16f67a28c6e8b9875b07e15c7c379cfc147e69 (patch) | |
tree | 4f58c91b43ca8862d8219026c70e89717a514b89 /src/config/defaults | |
parent | [bitops] Fix typo in test case (diff) | |
download | ipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.tar.gz ipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.tar.xz ipxe-1a16f67a28c6e8b9875b07e15c7c379cfc147e69.zip |
[arm] Add support for 32-bit ARM
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults')
-rw-r--r-- | src/config/defaults/efi.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h index ea9c31e2..8d3a8bf2 100644 --- a/src/config/defaults/efi.h +++ b/src/config/defaults/efi.h @@ -10,12 +10,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define UACCESS_EFI -#define IOAPI_X86 #define IOMAP_VIRT #define PCIAPI_EFI #define CONSOLE_EFI #define TIMER_EFI -#define NAP_EFIX86 #define UMALLOC_EFI #define SMBIOS_EFI #define SANBOOT_NULL @@ -35,6 +33,16 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define USB_EFI /* Provide EFI_USB_IO_PROTOCOL interface */ #define REBOOT_CMD /* Reboot command */ + +#if defined ( __i386__ ) || defined ( __x86_64__ ) +#define IOAPI_X86 +#define NAP_EFIX86 #define CPUID_CMD /* x86 CPU feature detection command */ +#endif + +#if defined ( __arm__ ) +#define IOAPI_ARM +#define NAP_EFIARM +#endif #endif /* CONFIG_DEFAULTS_EFI_H */ |