diff options
author | Christian Cunningham <cc@localhost> | 2021-12-21 20:22:40 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-12-21 20:22:40 -0800 |
commit | e43a2696a9eb948f7e08674da766d8971bd4d296 (patch) | |
tree | 160c7e266d2bd57c440b8402bf4a2902cd313c6e /src/sys | |
parent | 8e52f3ff03eeaac35a9d7a792cdedff6a92434b4 (diff) |
Moved IRQ inlines
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/core.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/sys/core.h b/src/sys/core.h index 3727a2b..d720e17 100644 --- a/src/sys/core.h +++ b/src/sys/core.h @@ -16,19 +16,6 @@ static inline void delay(unsigned long cycles) { : "=r"(cycles): [cycles]"0"(cycles) : "cc"); } -static inline void enableirq() { - asm volatile("cpsie i"); -} -static inline void disableirq() { - asm volatile("cpsid i"); -} -static inline void enablefiq() { - asm volatile("cpsie f"); -} -static inline void disablefiq() { - asm volatile("cpsid f"); -} - enum { // The offset for the MMIO area |