summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c20
1 files changed, 0 insertions, 20 deletions
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 <kernel/arch/generic.h>
-#include <kernel/main.h>
-#include <kernel/mem/alloc.h>
-#include <kernel/proc.h>
-#include <kernel/util.h>
-#include <stdint.h>
-
-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();
-}