From cd12cbc75564fafd9c2519cdf1085e651c9d7cfd Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 23 Jul 2022 17:57:56 +0200 Subject: create a bootstrap ELF loader, that'll load init --- src/usertestelf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/usertestelf.c') diff --git a/src/usertestelf.c b/src/usertestelf.c index 218f684..1cbfcc5 100644 --- a/src/usertestelf.c +++ b/src/usertestelf.c @@ -13,6 +13,7 @@ extern char _image_base[]; static void printf_backend(void *arg, const char *buf, size_t len) { (void)arg; _syscall_write(1, buf, len, -1); + _syscall_debug_klog(buf, len); } int printf(const char *fmt, ...) { -- cgit v1.2.3