aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 756721f..83e0b35 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -62,14 +62,12 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address)
load_binaries();
set_optimal_resolution();
- printf("Awesome!\n");
syscalls_install();
- elf_load("/bin/user");
+ struct process *proc = elf_load("/bin/user");
+ process_init(proc);
-#ifdef INSTALL_MELVIX
- panic("Installation isn't supported right now!");
-#endif
+ halt_loop();
// asm ("div %0" :: "r"(0)); // Exception testing x/0
-}
+} \ No newline at end of file