diff options
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r-- | src/kernel/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c index 9188370..d1046b2 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -7,6 +7,7 @@ #include <stdint.h> _Noreturn static void run_init(struct kmain_info *info) { + // TODO move all of this to process_seed struct process *proc = process_seed(); void __user *init_base = (userptr_t)0x200000; @@ -17,7 +18,7 @@ _Noreturn static void run_init(struct kmain_info *info) { proc->regs.eip = init_base; kprintf("switching...\n"); - process_switch(proc); + process_switch_any(); } void kmain(struct kmain_info info) { |