summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index 2c68fc80bd..936985de87 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -66,25 +66,25 @@ VFS* vfs;
Syscall::initialize();
auto dev_zero = make<ZeroDevice>();
- vfs->register_character_device(*dev_zero);
+ vfs->register_device(*dev_zero);
- vfs->register_character_device(*dev_null);
+ vfs->register_device(*dev_null);
auto dev_full = make<FullDevice>();
- vfs->register_character_device(*dev_full);
+ vfs->register_device(*dev_full);
auto dev_random = make<RandomDevice>();
- vfs->register_character_device(*dev_random);
+ vfs->register_device(*dev_random);
auto dev_ptmx = make<PTYMultiplexer>();
- vfs->register_character_device(*dev_ptmx);
-
- vfs->register_character_device(*keyboard);
- vfs->register_character_device(*ps2mouse);
- vfs->register_character_device(*tty0);
- vfs->register_character_device(*tty1);
- vfs->register_character_device(*tty2);
- vfs->register_character_device(*tty3);
+ vfs->register_device(*dev_ptmx);
+
+ vfs->register_device(*keyboard);
+ vfs->register_device(*ps2mouse);
+ vfs->register_device(*tty0);
+ vfs->register_device(*tty1);
+ vfs->register_device(*tty2);
+ vfs->register_device(*tty3);
auto dev_hd0 = IDEDiskDevice::create();
auto e2fs = Ext2FS::create(dev_hd0.copy_ref());