From 0237288ecc558e3da15fcb7ee1b28ad803e28a4d Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 17 Jan 2021 20:18:00 -0600 Subject: kernel: add main initialization functions Add the main initialiazation functions within the main kernel directory. Signed-off-by: Danny Holman --- kernel/init.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 kernel/init.c (limited to 'kernel') diff --git a/kernel/init.c b/kernel/init.c new file mode 100644 index 0000000..576b7f4 --- /dev/null +++ b/kernel/init.c @@ -0,0 +1,7 @@ +#include +#include + +void kernel_main(void) { + tty_init(); + printf("Hello world %x", 100); +} -- cgit v1.2.3