From a10aabfcd52f702057316018cd7847ab2bfe4aa1 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Tue, 26 May 2026 21:32:27 +0000 Subject: we're bringing kjarna back and not doing the crazy stuff with trying to have task management during efi. that was a bit extra. --- kc/core/stdio.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 kc/core/stdio.c (limited to 'kc/core/stdio.c') diff --git a/kc/core/stdio.c b/kc/core/stdio.c new file mode 100644 index 0000000..66c539f --- /dev/null +++ b/kc/core/stdio.c @@ -0,0 +1,18 @@ +#include "serial.h" +#include "video.h" + +#include +#include + +#include +#include + +FILE *stdout; + +int fputc(int c, FILE *f) +{ + (void)f; + video_putchar(c); + return serial_putchar(c); +} + -- cgit v1.3.1-1-g115d