Add basic address space infrastructure
This commit is contained in:
parent
177282d79c
commit
bb7887a29d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user