diff options
author | Christian Cunningham <cc@localhost> | 2022-03-11 13:41:49 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-11 13:41:49 -0800 |
commit | 0b812480a8b81607802cdceb273b69680cd5082c (patch) | |
tree | 4bff9ed959dd91fee4d647c8c1e12f84f78ca777 /src/cpu/irq.c | |
parent | ad9e577e8b2f6431d48a6a64fd95aff432e48441 (diff) |
Statically Allocated Scheduling
Diffstat (limited to 'src/cpu/irq.c')
-rw-r--r-- | src/cpu/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c index d9d50d8..51bc7f2 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -47,7 +47,7 @@ void c_irq_handler(void) } // Add task to handle the data else { - //add_thread(handle_data, (void*)data, 1); + add_thread(handle_data, (void*)data, 1); } return; } @@ -60,7 +60,7 @@ void c_irq_handler(void) static char timer_lock = 0; if (!timer_lock) { timer_lock = 1; - add_thread(test_entry, 0, 2); + //add_thread(test_entry, 0, 2); timer_lock = 0; } *nexttime = *timer_chi + 30000000; |