summaryrefslogtreecommitdiff
path: root/kernel/kmain.c
blob: 5b2fe917b297560a89f5a4899b6cf6176ab17759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <kernel/con.h>
#include <kernel/memory.h>
#include <kernel/sched.h>
#include <kernel/sys.h>
#include <stdint.h>
#include <sys/types.h>

void kmain(void) {
  con_init();

  printk("Kernel booting...\n");
  printk("Kernel booted!\n\n");

  userspace_init();
}