summaryrefslogtreecommitdiff
path: root/src/init/driver
diff options
context:
space:
mode:
authordzwdz2022-07-01 21:41:21 +0200
committerdzwdz2022-07-01 21:41:21 +0200
commitcf8ec3d3623f24cec91025ebdf1237935a970e40 (patch)
treea5176ff53f6a0371729575ce919d4766478e0848 /src/init/driver
parent5af715e76d65e0c8e5f9e3f066ae66475958689f (diff)
init/fs: move the kernel stuff to /kdev/
Diffstat (limited to 'src/init/driver')
-rw-r--r--src/init/driver/ansiterm.c2
-rw-r--r--src/init/driver/ps2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/init/driver/ansiterm.c b/src/init/driver/ansiterm.c
index 60aad72..2d8ef1f 100644
--- a/src/init/driver/ansiterm.c
+++ b/src/init/driver/ansiterm.c
@@ -56,7 +56,7 @@ static void in_char(char c) {
}
void ansiterm_drv(void) {
- vga_fd = _syscall_open("/vga", 4, 0);
+ vga_fd = _syscall_open("/kdev/vga", 9, 0);
_syscall_read(vga_fd, vga, sizeof vga, 0);
// find first empty line
diff --git a/src/init/driver/ps2.c b/src/init/driver/ps2.c
index 0c6d548..a05ae61 100644
--- a/src/init/driver/ps2.c
+++ b/src/init/driver/ps2.c
@@ -78,7 +78,7 @@ static void main_loop(void) {
}
void ps2_drv(void) {
- fd = _syscall_open("/ps2", 4, 0);
+ fd = _syscall_open("/kdev/ps2", 9, 0);
if (fd < 0) _syscall_exit(1);
main_loop();