mirror of
https://github.com/drasko/codezero.git
synced 2026-01-22 07:43:21 +01:00
Irqs are working. Scheduler modified to come back from no tasks.
- Userspace irq handling for timer. - If no runnable task is left. scheduler busy loops in user context of last runnable task until a new task becomes runnable.
This commit is contained in:
@@ -115,7 +115,7 @@ int irq_wait(l4id_t irq_index)
|
||||
WAIT_EVENT(&desc->wqh_irq,
|
||||
utcb->notify[desc->task_notify_slot] != 0,
|
||||
ret);
|
||||
printk("Didn't sleep. utcb->notify[%d]=%d\n", desc->task_notify_slot, utcb->notify[desc->task_notify_slot]);
|
||||
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user