From 63fd7ce362c7f1d59365045f19cf1ca87ffe2db9 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 15 Aug 2022 23:03:18 +0200 Subject: kernel: combine kmain_early and kmain --- src/kernel/main.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/kernel/main.c (limited to 'src/kernel/main.c') diff --git a/src/kernel/main.c b/src/kernel/main.c deleted file mode 100644 index ef7acee..0000000 --- a/src/kernel/main.c +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include -#include -#include -#include -#include - -void kmain(struct kmain_info info) { - kprintf("loading init...\n"); - process_seed(info.init.at, info.init.size); - - kprintf("switching...\n"); - process_switch_any(); -} - -void shutdown(void) { - kprintf("shutting off\n"); - mem_debugprint(); - cpu_shutdown(); -} -- cgit v1.2.3