From 00660fb9143daf7fa04647bccd6047b9bf0f5e48 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 21 Jan 2022 11:37:49 -0700 Subject: Scheduler Rewrite Start --- src/cpu/irq.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/irq.c b/src/cpu/irq.c index c966935..7a9bcaa 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -217,12 +218,12 @@ void c_fiq_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(); + //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