Verified Commit 1d30394c authored by Felix Kopp's avatar Felix Kopp
Browse files

sched: add idle task entry i forgot to commit

parent c79fadaf
......@@ -69,7 +69,11 @@ void arch_task_init(struct task *task, void (*entry)(void))
task->tcb.context.pc = _leave;
}
extern void _idle(void);
__naked __noreturn void _idle(void)
{
/* TODO: put the CPU to sleep */
while (1);
}
int arch_idle_task_init(struct task *task)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment