aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-15 16:35:29 +0200
committerMarvin Borner2020-04-15 16:35:29 +0200
commitaa3d1b4689e6dadd982fe1e5ca8af69ca39c617d (patch)
tree8d4eff1df3031e601cb50cf005130a591fce35a1 /src/kernel/kernel.c
parent10cd931d75a02942c5ad254cef2e56b515122fa3 (diff)
Added ext2 filesystem
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 019e4b4..f116ab8 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -15,6 +15,9 @@
#include <kernel/fs/load.h>
#include <kernel/fs/elf.h>
#include <kernel/lib/stdio.h>
+#include <kernel/fs/ata.h>
+#include <kernel/fs/ext2/ext2.h>
+#include <kernel/fs/vfs/vfs.h>
void kernel_main(uint32_t magic, multiboot_info_t *grub_header)
{
@@ -47,6 +50,9 @@ void kernel_main(uint32_t magic, multiboot_info_t *grub_header)
network_install();
sti();
+ vfs_init();
+ ata_init();
+ ext2_init("/dev/hda", "/");
// tasking_install();
// Get hardware information
@@ -68,4 +74,4 @@ void kernel_main(uint32_t magic, multiboot_info_t *grub_header)
// panic("This should NOT happen!");
// asm ("div %0" :: "r"(0)); // Exception testing x/0
-} \ No newline at end of file
+}