VM regions: management functions and structs
[akaros.git] / kern / src / init.c
index f6d7e61..523a52c 100644 (file)
@@ -36,6 +36,7 @@
 #include <arch/bitmask.h>
 #include <slab.h>
 #include <kfs.h>
+#include <vfs.h>
 
 // zra: flag for Ivy
 int booting = 1;
@@ -74,10 +75,10 @@ void kernel_init(multiboot_info_t *mboot_info)
        hashtable_init();
        cache_color_alloc_init();       // Inits data structs
        colored_page_alloc_init();      // Allocates colors for agnostic processes
-       mmap_init();
+       vmr_init();
        file_init();
        page_check();
-
+       vfs_init();
        idt_init();
        kernel_msg_init();
        sysenter_init();