aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 08018c2..c2f0972 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -18,6 +18,7 @@
#include <kernel/fs/ata.h>
#include <kernel/fs/ext2.h>
#include <kernel/fs/vfs.h>
+#include <kernel/fs/dev.h>
#include <kernel/cmos/rtc.h>
#include <kernel/memory/alloc.h>
@@ -77,6 +78,10 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address, uint32_t esp)
log("Content of /etc/test: %s", buf);
ext2_root->close(test);
+ dev_stdin();
+ dev_stdout();
+ dev_stderr();
+
syscalls_install();
kexec("/bin/init");