Portable printf added

This commit is contained in:
2025-12-21 15:34:45 +01:00
parent b41b6e2369
commit ef5f658a62
7 changed files with 1049 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
#include <stdbool.h>
#include <stddef.h>
#include <limine.h>
#include "term.h"
#include "io/term.h"
#include "io/printf.h"
// Limine version used
__attribute__((used, section(".limine_requests")))
@@ -111,7 +112,7 @@ void kmain()
if (term_init()) hcf();
// Draw something
kputs("Hello, world!");
printf("%s, %s!", "Hello", "world");
hcf();
}