From 25108684fe235d4296c3cbc480298df209682586 Mon Sep 17 00:00:00 2001 From: stefan Date: Tue, 4 Apr 2023 06:01:50 +0000 Subject: build system and some other stuff --- sys/kern/kernel_earlyprintf.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys/kern/kernel_earlyprintf.c (limited to 'sys/kern/kernel_earlyprintf.c') diff --git a/sys/kern/kernel_earlyprintf.c b/sys/kern/kernel_earlyprintf.c new file mode 100644 index 0000000..e6c85c4 --- /dev/null +++ b/sys/kern/kernel_earlyprintf.c @@ -0,0 +1,11 @@ +#include +#include + +int +kernel_earlyputs(const char *str) +{ + do { + sbi_console_putchar(*str); + } while (*(str++) != '\0'); +} + -- cgit v1.2.3