diff options
author | Christian Cunningham <cc@localhost> | 2022-01-11 09:32:31 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-11 09:32:31 -0700 |
commit | 516df5812ac64d87ac2e32ebf0211534ea0abaa7 (patch) | |
tree | 2850df144c282e96dfa15a6413b3ba0a29cdf9c4 /src/cpu | |
parent | 6d4d2fe7fc4a0d2c70b64d9c232ef2758dd8bf80 (diff) |
Update stuff
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/irq.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 <symbols.h> #include <sys/core.h> #include <sys/kernel.h> +#include <sys/schedule.h> #include <sys/timer.h> #include <util/mutex.h> #include <util/status.h> @@ -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(); } |