summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 66c1b6d..b5a4593 100644
--- a/include/global.h
+++ b/include/global.h
@@ -24,6 +24,8 @@
#define asm_unified(x) asm(".syntax unified\n" x "\n.syntax divided\n")
+#define NAKED __attribute__((naked))
+
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
#endif // GUARD_GLOBAL_H