19 pr_dinfo2(process,
"creating the idle task...");
24 snprintf(namebuf,
sizeof(namebuf),
"idle-%u", i);
25 pr_dinfo(process,
"creating the idle task for CPU %u", i);
static void create_idle_task()
static void idle_task(void *arg)
__nodiscard thread_t * kthread_create_no_sched(thread_entry_t entry, void *arg, const char *name)
Create a kernel thread, but do not add it to the scheduler.
int snprintf(char *__restrict str, size_t size, const char *__restrict format,...)
#define pr_dinfo(feat, fmt,...)
#define pr_dinfo2(feat, fmt,...)
#define MOS_INIT(_comp, _fn)
thread_t * idle_thread
idle thread for this CPU