aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h')
-rw-r--r--src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h b/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h
index 5912e0115b..da19250632 100644
--- a/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h
+++ b/src/vendorcode/intel/fsp1_0/rangeley/include/fsptypes.h
@@ -100,13 +100,18 @@ typedef struct {
#define TRUE ((BOOLEAN)(1==1))
#define FALSE ((BOOLEAN)(0==1))
+static inline void DebugDeadLoop(void) {
+ for (;;);
+}
+
#define FSPAPI __attribute__((cdecl))
#define EFIAPI __attribute__((cdecl))
+#define _ASSERT(Expression) DebugDeadLoop()
#define ASSERT(Expression) \
do { \
if (!(Expression)) { \
- for (;;); \
+ _ASSERT (Expression); \
} \
} while (FALSE)