aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/irq.h
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-05 14:27:09 -0800
committerChristian Cunningham <cc@localhost>2022-01-05 14:27:09 -0800
commit866a6ca0e749f4446b7fdc7579a6d553df85ec10 (patch)
treed259223d85c224d649c6c38675e99b155d50cf48 /src/cpu/irq.h
parent3a8ed19bf83f11ff00c4904fab2cc083b7e33478 (diff)
Moved includes to its own directory
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