From c8ed6aa7476b7f506366d9fe56ed6f2e7a12b40d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 16 Jul 2022 21:03:40 +0200 Subject: amd64: init can print to the terminal now --- src/user/app/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/user/app') diff --git a/src/user/app/main.c b/src/user/app/main.c index 92aa56c..527d29f 100644 --- a/src/user/app/main.c +++ b/src/user/app/main.c @@ -23,6 +23,8 @@ int main(void) { file_reopen(stdout, "/com1", 0); printf("preinit\n"); + _syscall_exit(0); // temporary + /* move everything provided by the kernel to /kdev */ MOUNT("/kdev/", fs_passthru(NULL)); if (!fork2_n_mount("/")) { -- cgit v1.2.3