From 516df5812ac64d87ac2e32ebf0211534ea0abaa7 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Tue, 11 Jan 2022 09:32:31 -0700 Subject: Update stuff --- src/cpu/irq.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/cpu') diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 0d6e9de..aa7c375 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -105,4 +106,12 @@ void c_irq_handler(void) void localtest(void) { + struct Thread* t = scheduler.rthread_ll->data; + uart_string("Running IRQ Task... "); + uart_10(t->data.pid); + uart_char('\n'); + uart_string("Finished! "); + uart_10(t->data.pid); + uart_char('\n'); + sched_info(); } -- cgit v1.2.1