diff options
author | dzwdz | 2022-08-15 23:03:18 +0200 |
---|---|---|
committer | dzwdz | 2022-08-15 23:03:18 +0200 |
commit | 63fd7ce362c7f1d59365045f19cf1ca87ffe2db9 (patch) | |
tree | d991957f52e74afebe88a1ec88ec0d371728160b /src/kernel/main.c | |
parent | 3e80780859c4cbe5223ca4329bfd6176f5c2c879 (diff) |
kernel: combine kmain_early and kmain
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r-- | src/kernel/main.c | 20 |
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(); -} |