VMM -- Interface cleanup

This commit is contained in:
2018-03-21 09:16:19 +01:00
parent 4011b5f12f
commit fc6c7f3bc7
4 changed files with 50 additions and 61 deletions

View File

@@ -25,7 +25,7 @@ void memory_init()
if(!PAGE_EXIST(page) || !(page & PAGE_PRESENT))
{
uint16_t flags = PAGE_GLOBAL | PAGE_WRITE;
vmm_set_page(kernel_P4, addr, p, flags | PAGE_PRESENT, 1);
vmm_set_page(kernel_P4, addr, p, flags | PAGE_PRESENT);
}
if(type == MMAP_FREE)