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()
|
void VMM::init()
|
||||||
{
|
{
|
||||||
kernel_pml4 = (PageTable*)read_cr3();
|
kernel_pml4 = (PageTable*)read_cr3();
|
||||||
|
current_pml4 = kernel_pml4;
|
||||||
}
|
}
|
||||||
|
|
||||||
void VMM::unmap(uint64_t vaddr)
|
void VMM::unmap(uint64_t vaddr)
|
||||||
|
Loading…
Reference in New Issue
Block a user