diff options
author | Marvin Borner | 2020-05-01 20:50:49 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-01 20:50:49 +0200 |
commit | 21106945c4a28d45334824c02f8b139d1db91c45 (patch) | |
tree | f215128167a17fa476ad32350c2b81fc4ebb0395 /src/kernel/kernel.c | |
parent | f0439a5dbfe2cfed3d629027d4b54b5f77f4e6de (diff) |
Added devfs and basic standard devices
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r-- | src/kernel/kernel.c | 5 |
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"); |