diff options
author | Christian Cunningham <cc@localhost> | 2022-01-06 23:48:03 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-06 23:48:03 -0800 |
commit | 6faa08e0a5cb7b36f34c0d0527bb3bbc21aa4d82 (patch) | |
tree | 44df7e63a11c68af9a42565e2d474c78f4b03946 /src/sys/schedule.c | |
parent | aa8d179b2df2ce031a84172a70be88697dfda7c4 (diff) |
Update Thread Flags on Switch
Diffstat (limited to 'src/sys/schedule.c')
-rw-r--r-- | src/sys/schedule.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sys/schedule.c b/src/sys/schedule.c index 4b071c3..7dc2205 100644 --- a/src/sys/schedule.c +++ b/src/sys/schedule.c @@ -156,15 +156,11 @@ void cleanup(void) scheduler.rthread_ll = 0; } // Schedule next thread - //uart_string("Scheduling from cleanup!\n"); - //sched_info(); - //schedule(); schedule(); } void sched_info(void) { - disableirq(); uart_string("Scheduler Information\n"); for(unsigned long i = 0; i < PRIORITIES; i++) { struct LL* ll = scheduler.tlist[i].next; @@ -186,5 +182,4 @@ void sched_info(void) } uart_char('\n'); } - enableirq(); } |