summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation
diff options
context:
space:
mode:
Diffstat (limited to 'EdkCompatibilityPkg/Foundation')
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/Ipf/EfiBind.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Include/Ipf/EfiBind.h b/EdkCompatibilityPkg/Foundation/Include/Ipf/EfiBind.h
index 7c289c1dbe..823855e14c 100644
--- a/EdkCompatibilityPkg/Foundation/Include/Ipf/EfiBind.h
+++ b/EdkCompatibilityPkg/Foundation/Include/Ipf/EfiBind.h
@@ -31,7 +31,7 @@ Abstract:
#define EFI_APPLICATION_ENTRY_POINT EFI_DRIVER_ENTRY_POINT
-
+#define ECP_CPU_IPF
//
@@ -216,6 +216,12 @@ typedef int64_t intn_t;
#define EFI_BAD_POINTER 0xAFAFAFAFAFAFAFAF
#define EFI_BAD_POINTER_AS_BYTE 0xAF
+#define EFI_DEADLOOP() while(TRUE)
+
+#ifdef __GNUC__
+#define EFI_BREAKPOINT EcpEfiBreakPoint
+#define MEMORY_FENCE EcpMemoryFence
+#else
//
// Inject a break point in the code to assist debugging.
//
@@ -233,6 +239,7 @@ typedef int64_t intn_t;
void __mfa (void);
#pragma intrinsic (__mfa)
#define MEMORY_FENCE() __mfa()
+#endif
//