diff options
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r-- | src/kernel/kernel.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c index e5cb666..e1822d8 100644 --- a/src/kernel/kernel.c +++ b/src/kernel/kernel.c @@ -57,14 +57,12 @@ void kernel_main(uint32_t initial_stack) install_melvix(); #endif - loader_init(); - elf_init(); - exec_start((uint8_t *)userspace); + load_elf((char *)userspace); - // syscalls_install(); - // exec(userspace); + // syscalls_install(); + // exec(userspace); panic("This should NOT happen!"); // asm ("div %0" :: "r"(0)); // Exception testing x/0 -}
\ No newline at end of file +} |