diff options
Diffstat (limited to 'sys/kern/kernel_earlyprintf.c')
-rw-r--r-- | sys/kern/kernel_earlyprintf.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 <kernel_earlyprintf.h> +#include <sbi.h> + +int +kernel_earlyputs(const char *str) +{ + do { + sbi_console_putchar(*str); + } while (*(str++) != '\0'); +} + |