summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordzwdz2022-04-09 19:05:03 +0200
committerdzwdz2022-04-09 19:05:03 +0200
commitb1acaafbb003ba6a5c20bd58d0fb7314c25a1cdc (patch)
treecbe341387bf3935304592207bfdcc3169a767809 /src
parent59ca1c46970fa8df2d0fa4b8163a99ca418bd2cf (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')
-rw-r--r--src/init/main.c24
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"));