[USER] User mode code execution

This commit is contained in:
2016-11-26 13:21:51 +01:00
parent f63afbb3b1
commit 4f76557b73
7 changed files with 71 additions and 20 deletions

View File

@@ -105,5 +105,5 @@ void scheduler_init()
LIST_HEAD_INIT(ready_queue);
scheduler_started = 1;
}
get_cpu()->scheduler = new_thread(scheduler);
get_cpu()->scheduler = new_thread(scheduler, 0);
}