diff options
author | dzwdz | 2022-04-09 19:05:03 +0200 |
---|---|---|
committer | dzwdz | 2022-04-09 19:05:03 +0200 |
commit | b1acaafbb003ba6a5c20bd58d0fb7314c25a1cdc (patch) | |
tree | cbe341387bf3935304592207bfdcc3169a767809 /src/init/main.c | |
parent | 59ca1c46970fa8df2d0fa4b8163a99ca418bd2cf (diff) |
init: disable the vga shell
i was disabling it while working anyways, i'll only turn it back on once
there's support for multiple processes waiting for an irq
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/src/init/main.c b/src/init/main.c index 5b106df..f1e1e22 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -37,19 +37,21 @@ int main(void) { _syscall_exit(1); } - if (!_syscall_fork()) { - __stdout = _syscall_open(argify("/vga_tty")); - if (__stdout < 0) _syscall_exit(1); + /* + * if (!_syscall_fork()) { + * __stdout = _syscall_open(argify("/vga_tty")); + * if (__stdout < 0) _syscall_exit(1); - __stdin = _syscall_open(argify("/keyboard")); - if (__stdin < 0) { - printf("couldn't open /keyboard\n"); - _syscall_exit(1); - } + * __stdin = _syscall_open(argify("/keyboard")); + * if (__stdin < 0) { + * printf("couldn't open /keyboard\n"); + * _syscall_exit(1); + * } - shell_loop(); - _syscall_exit(1); - } + * shell_loop(); + * _syscall_exit(1); + * } + */ // try to find any working output __stdout = _syscall_open(argify("/com1")); |