diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-21 11:40:32 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-21 12:40:10 -0400 |
commit | 600403a8666da95c8a9e99497b93825cce63c750 (patch) | |
tree | 8786da4813fd0ea47ef778120812bf19effb3f0f /sys/kern/init_main.c | |
parent | ccfba09b7a23632b6a8c1d8731fcdbf778e148b1 (diff) |
kernel: Initial sched rewrite
- Introduce dynamic scheduling policy
- Introduce MLFQ scheduling
- Clean up a lot of code
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 4b7f62e..10cd90e 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -103,7 +103,7 @@ main(void) ci = this_cpu(); __TRY_CALL(ap_bootstrap, ci); - sched_init_processor(ci); + sched_enter(); while (1); __builtin_unreachable(); |