aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/irq.h')
-rw-r--r--src/cpu/irq.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/cpu/irq.h b/src/cpu/irq.h
deleted file mode 100644
index 3b8f085..0000000
--- a/src/cpu/irq.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef CPU_IRQ_H
-#define CPU_IRQ_H
-
-static inline void enableirq(void)
-{
- asm volatile("cpsie i");
-}
-static inline void disableirq(void)
-{
- asm volatile("cpsid i");
-}
-static inline void enablefiq(void)
-{
- asm volatile("cpsie f");
-}
-static inline void disablefiq(void)
-{
- asm volatile("cpsid f");
-}
-
-void c_irq_handler(void);
-
-#endif