aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-20 16:28:18 -0700
committerChristian Cunningham <cc@localhost>2022-01-20 16:28:18 -0700
commit022dfd0f42962da6c60fbeb5604e1455a07eaaa6 (patch)
tree9798813d345b18a00337c26ec6384b42fe41e208 /src/cpu
parenta9171b3f7499dfff1f40bf3503fdf13a20487b68 (diff)
Added System Timer Hook
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/irq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c
index f1d8fb6..fb73b8a 100644
--- a/src/cpu/irq.c
+++ b/src/cpu/irq.c
@@ -102,6 +102,8 @@ void c_irq_handler(void)
} else if (source & (1 << 3)) {
c_timer();
return;
+ } else {
+ uart_string("Unknown Interrupt Detected!");
}
return;
}
@@ -196,6 +198,8 @@ void c_fiq_handler(void)
} else if (source & (1 << 3)) {
c_timer();
return;
+ } else {
+ uart_string("Unknown Interrupt Detected!");
}
return;
}