Kernel/Userspace/LibC: Implement basic dprintln for userspace

This commit is contained in:
2024-02-05 01:24:09 +02:00
parent 79897e77dc
commit 692cec8458
11 changed files with 103 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ void initialize_stdio()
if (open(tty, O_RDONLY | O_TTY_INIT) != 0) _exit(1);
if (open(tty, O_WRONLY) != 1) _exit(1);
if (open(tty, O_WRONLY) != 2) _exit(1);
if (open("/dev/debug", O_WRONLY) != 3) _exit(1);
}
int main()