summaryrefslogtreecommitdiff
path: root/src/usertestelf.c
diff options
context:
space:
mode:
authordzwdz2022-07-23 17:57:56 +0200
committerdzwdz2022-07-23 17:57:56 +0200
commitcd12cbc75564fafd9c2519cdf1085e651c9d7cfd (patch)
treeacc02960280b4e360a932e48c228a46b78070574 /src/usertestelf.c
parent6cd59ad0124d8a22e8cbb77f87e8f0aa20633c59 (diff)
create a bootstrap ELF loader, that'll load init
Diffstat (limited to 'src/usertestelf.c')
-rw-r--r--src/usertestelf.c1
1 files changed, 1 insertions, 0 deletions
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, ...) {