Add initial barebones kernel and cross compiler container image

This commit is contained in:
2024-07-29 23:59:10 +02:00
commit 30e0d6d9f8
19 changed files with 899 additions and 0 deletions

16
src/kernel/kernel.c Normal file
View File

@@ -0,0 +1,16 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "libc.h"
#include "tty.h"
void kernel_main(void)
{
terminal_clear();
for (size_t i = 0; i < 15; i++) {
printf(str_attach("hello {u32}!\n"), i);
}
}