Introduce assert() macro.

Change-Id: Id087824aaa1ab6203842384f935091b145508c3c
diff --git a/src/abort.c b/src/abort.c
index f16d2f7..8d9d723 100644
--- a/src/abort.c
+++ b/src/abort.c
@@ -16,6 +16,8 @@
 
 #include "hf/abort.h"
 
+#include "hf/dlog.h"
+
 /**
  * Causes execution to halt and prevent progress of the current and less
  * privileged software components. This should be triggered when a
@@ -28,5 +30,7 @@
 {
 	/* TODO: Block all CPUs. */
 	for (;;) {
+		/* Prevent loop being optimized away. */
+		__asm__ volatile("nop");
 	}
 }