diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-01-17 20:18:00 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-01-17 20:18:00 -0600 |
commit | 0237288ecc558e3da15fcb7ee1b28ad803e28a4d (patch) | |
tree | a7b3ce21c44aa576101641bb792a40b6c109d381 /kernel | |
parent | fc66cc519ed7ef53c4f98b573a2ae341c1e6abed (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.c | 7 |
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); +} |