summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/Arm
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/efi/Arm')
-rw-r--r--src/include/ipxe/efi/Arm/ProcessorBind.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/ipxe/efi/Arm/ProcessorBind.h b/src/include/ipxe/efi/Arm/ProcessorBind.h
index 6d558a2dd..4f90eff84 100644
--- a/src/include/ipxe/efi/Arm/ProcessorBind.h
+++ b/src/include/ipxe/efi/Arm/ProcessorBind.h
@@ -1,3 +1,7 @@
+#ifndef _IPXE_EFI_ARM_PROCESSORBIND_H
+#define _IPXE_EFI_ARM_PROCESSORBIND_H
+
+
/** @file
Processor or Compiler specific defines and types for ARM.
@@ -15,7 +19,11 @@ FILE_LICENCE ( BSD2_PATENT );
///
/// Define the processor type so other code can make processor based choices
///
-#define MDE_CPU_ARM
+/// Upstream EDK2 headers no longer accept MDE_CPU_ARM: define
+/// MDE_CPU_EBC to prevent build errors. (The definition doesn't
+/// actually affect anything used by iPXE.)
+///
+#define MDE_CPU_EBC
//
// Make sure we are using the correct packing rules per EFI specification
@@ -238,3 +246,5 @@ typedef INT32 INTN;
#endif
#endif
+
+#endif /* _IPXE_EFI_ARM_PROCESSORBIND_H */