From aa3d1b4689e6dadd982fe1e5ca8af69ca39c617d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 15 Apr 2020 16:35:29 +0200 Subject: Added ext2 filesystem --- src/kernel/kernel.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/kernel/kernel.c') 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 #include #include +#include +#include +#include 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 +} -- cgit v1.2.3