sched: add timer tasks and schedule_timeout()
This commit is contained in:
@@ -242,7 +242,7 @@ void irq_dispatch(struct cpu_context *regs)
|
||||
}
|
||||
|
||||
if (need_resched()) {
|
||||
schedule();
|
||||
schedule(SCHED_IRQ);
|
||||
}
|
||||
|
||||
start_charge_period();
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
.code64
|
||||
|
||||
.extern THREAD_sp
|
||||
//TASK_threadsp:
|
||||
//.long 32
|
||||
|
||||
.global switch_to
|
||||
.type switch_to, @function
|
||||
|
||||
Reference in New Issue
Block a user