diff options
author | dzwdz | 2022-07-23 17:57:56 +0200 |
---|---|---|
committer | dzwdz | 2022-07-23 17:57:56 +0200 |
commit | cd12cbc75564fafd9c2519cdf1085e651c9d7cfd (patch) | |
tree | acc02960280b4e360a932e48c228a46b78070574 /src/usertestelf.c | |
parent | 6cd59ad0124d8a22e8cbb77f87e8f0aa20633c59 (diff) |
create a bootstrap ELF loader, that'll load init
Diffstat (limited to 'src/usertestelf.c')
-rw-r--r-- | src/usertestelf.c | 1 |
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, ...) { |