aboutsummaryrefslogtreecommitdiff
path: root/include/cpu
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-24 17:14:32 -0700
committerChristian Cunningham <cc@localhost>2022-03-24 17:14:32 -0700
commit78493b1d441ef888910cf958a16f260bc3c1a7bd (patch)
tree3df0bd30040af43b5e4072eb3730fafe8a952167 /include/cpu
parentc5f8eb6c35f6b3ca14c2a0e916fa835ed85cdfd6 (diff)
Subscriibe w/ More Info
Diffstat (limited to 'include/cpu')
-rw-r--r--include/cpu/irq.h10
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");