From c74bd1baa844eac1fcb17a266ef720ed0c1ae616 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Fri, 9 Oct 2026 09:06:04 -0700 Subject: Bit o a refactah --- include/utils.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/utils.h (limited to 'include/utils.h') 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 + +#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 -- cgit v1.3