aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-21 14:18:20 +0200
committerMarvin Borner2020-04-21 14:18:20 +0200
commit40b98b3eb3f897d3d12199c79b30e2fd9151baf9 (patch)
tree0f10c78c95bd24a4b5cef2a3948dd3abbc1a4eb7 /src/kernel/kernel.c
parentc83104329214bd618444d6e0242bb0317f52dbbc (diff)
Added very basic vfs
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 57b853f..89c5c4c 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/cmos/rtc.h>
+#include <kernel/memory/alloc.h>
void kernel_main(uint32_t magic, uint32_t multiboot_address)
{
@@ -57,6 +58,7 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address)
ata_init();
ext2_init_fs();
+ ext2_mount(fs_root);
load_binaries();
set_optimal_resolution();
@@ -75,4 +77,4 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address)
// panic("This should NOT happen!");
// asm ("div %0" :: "r"(0)); // Exception testing x/0
-} \ No newline at end of file
+}