From ec7c6eff3c10565a57ba2b2c14b3f224d9216b76 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 10 Apr 2022 16:17:57 +0200 Subject: kernel/i386: rewrite the serial driver to wait for IRQ proper multiprocess support! --- src/init/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/init') diff --git a/src/init/main.c b/src/init/main.c index 06e48cf..200d8bd 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -22,14 +22,13 @@ int main(void) { // allocate bss _syscall_memflag(&_bss_start, &_bss_end - &_bss_start, MEMFLAG_PRESENT); - MOUNT("/init", tar_driver(&_initrd)); MOUNT("/keyboard", ps2_drv()); MOUNT("/vga_tty", ansiterm_drv()); MOUNT("/bind", fs_passthru(NULL)); - if (false && !_syscall_fork()) { + if (!_syscall_fork()) { __stdin = __stdout = _syscall_open(argify("/com1")); if (__stdout < 0) _syscall_exit(1); -- cgit v1.2.3