summaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
new file mode 100644
index 0000000..9ea1f09
--- /dev/null
+++ b/include/utils.h
@@ -0,0 +1,13 @@
+#include <stdbool.h>
+
+#ifndef UTILS_H
+#define UTILS_H
+
+#ifndef asm
+#define asm __asm__ volatile
+#endif
+
+void macaroni_panic(char* msg);
+void macaroni_assert(bool condition, char* msg);
+
+#endif // UTILS_H \ No newline at end of file