summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-01-17 20:18:00 -0600
committerDanny Holman <dholman@gymli.xyz>2021-01-17 20:18:00 -0600
commit0237288ecc558e3da15fcb7ee1b28ad803e28a4d (patch)
treea7b3ce21c44aa576101641bb792a40b6c109d381 /kernel
parentfc66cc519ed7ef53c4f98b573a2ae341c1e6abed (diff)
kernel: add main initialization functions
Add the main initialiazation functions within the main kernel directory. Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/init.c7
1 files changed, 7 insertions, 0 deletions
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 <kernel/tty.h>
+#include <kernel/io.h>
+
+void kernel_main(void) {
+ tty_init();
+ printf("Hello world %x", 100);
+}