diff --git a/apps/system/init/init.cpp b/apps/system/init/init.cpp index beb12c3..f3335b8 100644 --- a/apps/system/init/init.cpp +++ b/apps/system/init/init.cpp @@ -6,12 +6,10 @@ extern "C" int main(int argc, char *argv[], char *envp[]) UNUSED(argv); UNUSED(envp); - // unsigned long ret; - // asm volatile("syscall" - // : "=a"(ret) - // : "a"(1), "D"(1) - // : "rcx", "r11", "memory"); - - // syscall_exit(); - return 0; + unsigned long ret; + asm volatile("syscall" + : "=a"(ret) + : "a"(1), "D"(1) + : "rcx", "r11", "memory"); + return ret; }