Move away from using recursive mapping for page tables.
Having the HHDM-based mapping allows us to more easily map data into non-resident processes.
This commit is contained in:
parent
c6921b5459
commit
f6609983d2
3 changed files with 73 additions and 66 deletions
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
void InitPaging();
|
||||
void InitializePml4(uint64_t pml4_physical_addr);
|
||||
|
||||
void AllocatePage(uint64_t addr);
|
||||
void AllocatePageIfNecessary(uint64_t addr, uint64_t cr3 = 0);
|
||||
void EnsureResident(uint64_t addr, uint64_t size);
|
||||
|
||||
bool PageLoaded(uint64_t addr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue