acadia/zion/memory/paging_util.h
Drew Galbraith f6609983d2 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.
2023-05-30 01:06:01 -07:00

8 lines
200 B
C

#pragma once
#include <stdint.h>
void InitializePml4(uint64_t pml4_physical_addr);
void AllocatePageIfNecessary(uint64_t addr, uint64_t cr3 = 0);
void EnsureResident(uint64_t addr, uint64_t size);