diff options
author | Christian Cunningham <cc@localhost> | 2022-01-20 16:28:18 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-20 16:28:18 -0700 |
commit | 022dfd0f42962da6c60fbeb5604e1455a07eaaa6 (patch) | |
tree | 9798813d345b18a00337c26ec6384b42fe41e208 /src/cpu | |
parent | a9171b3f7499dfff1f40bf3503fdf13a20487b68 (diff) |
Added System Timer Hook
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/irq.c | 4 |
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; } |