Add basic address space infrastructure

This commit is contained in:
apio 2022-10-13 19:19:51 +02:00
parent 177282d79c
commit bb7887a29d

View File

@ -58,6 +58,7 @@ bool VMM::is_using_kernel_address_space()
void VMM::init()
{
kernel_pml4 = (PageTable*)read_cr3();
current_pml4 = kernel_pml4;
}
void VMM::unmap(uint64_t vaddr)