aboutsummaryrefslogtreecommitdiff
path: root/include/cpu
diff options
context:
space:
mode:
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");