diff options
author | Christian Cunningham <cc@localhost> | 2022-03-24 17:14:32 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-24 17:14:32 -0700 |
commit | 78493b1d441ef888910cf958a16f260bc3c1a7bd (patch) | |
tree | 3df0bd30040af43b5e4072eb3730fafe8a952167 /include | |
parent | c5f8eb6c35f6b3ca14c2a0e916fa835ed85cdfd6 (diff) |
Subscriibe w/ More Info
Diffstat (limited to 'include')
-rw-r--r-- | include/cpu/irq.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/cpu/irq.h b/include/cpu/irq.h index 11740ad..28e060b 100644 --- a/include/cpu/irq.h +++ b/include/cpu/irq.h @@ -14,6 +14,16 @@ struct IrqEntry { void* handler_info; }; +struct UartInfo { + unsigned long priority; +}; + +struct SysTimerInfo { + unsigned long tick_rate; + unsigned long priority; + void* arg; +}; + static inline void enableirq(void) { asm volatile("cpsie i"); |