Start working on a VFS implementation #22

Closed
apio wants to merge 44 commits from oop-vfs into main
Showing only changes of commit 3654cc5bee - Show all commits

View File

@ -100,7 +100,7 @@ namespace MemoryManager
void init()
{
init_physical_frame_allocator();
KernelVM::init();
MMU::setup_initial_page_directory();
auto frame_bitmap = g_frame_bitmap.lock();
@ -108,6 +108,8 @@ namespace MemoryManager
auto virtual_bitmap_base = MMU::translate_physical_address(phys);
frame_bitmap->initialize((void*)virtual_bitmap_base, frame_bitmap->size_in_bytes());
KernelVM::init();
}
void do_lock_frame(u64 index, Bitmap& bitmap)