From 0ddd4d1dab8dc2ba092c7351cfb2e054fce1f429 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 6 Aug 2023 01:16:14 +0200 Subject: kernel: put every driver in /kdev/ there's no real reason for bootstrap to be doing that, and this brings it closer to only doing the elf loading --- src/kernel/arch/amd64/driver/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch/amd64/driver/serial.c') diff --git a/src/kernel/arch/amd64/driver/serial.c b/src/kernel/arch/amd64/driver/serial.c index 5b42d8d..36b7cfa 100644 --- a/src/kernel/arch/amd64/driver/serial.c +++ b/src/kernel/arch/amd64/driver/serial.c @@ -15,7 +15,7 @@ static const int COM1 = 0x3f8; static void accept(VfsReq *req); static void serial_irq(void); static VfsReq *hung_reads = NULL; -void serial_init(void) { vfs_root_register("/com1", accept); } +void serial_init(void) { vfs_root_register("/kdev/com1", accept); } static void serial_selftest(void) { -- cgit v1.2.3