idle_thread        47 sys/kern/thread.c static struct thread	idle_thread;	/* idle thread */
idle_thread        52 sys/kern/thread.c thread_t curthread = &idle_thread;	/* current thread */
idle_thread       588 sys/kern/thread.c 	context_set(&idle_thread.ctx, CTX_KSTACK, (register_t)sp);
idle_thread       589 sys/kern/thread.c 	sched_start(&idle_thread, PRI_IDLE, SCHED_FIFO);
idle_thread       590 sys/kern/thread.c 	idle_thread.kstack = stack;
idle_thread       591 sys/kern/thread.c 	idle_thread.task = &kernel_task;
idle_thread       592 sys/kern/thread.c 	idle_thread.state = TS_RUN;
idle_thread       593 sys/kern/thread.c 	idle_thread.locks = 1;
idle_thread       594 sys/kern/thread.c 	list_init(&idle_thread.mutexes);
idle_thread       596 sys/kern/thread.c 	list_insert(&thread_list, &idle_thread.link);
idle_thread       597 sys/kern/thread.c 	list_insert(&kernel_task.threads, &idle_thread.task_link);