30 while (pfn < total_npages)
178 entry->
pfn = pfn >> 1;
184 return entry->
pfn << 1;
256 entry->
pfn = pfn >> 1;
262 return entry->
pfn << 1;
bool platform_pml3e_is_huge(const pml3e_t *pml3e)
void platform_pml2e_set_flags(pml2e_t *pml2e, vm_flags flags)
pml1_t platform_pml2e_get_pml1(const pml2e_t *pml2e)
void platform_pml4e_set_flags(pml4e_t *pml4e, vm_flags flags)
bool platform_pml3e_get_present(const pml3e_t *pml3e)
void platform_pml4e_set_pml3(pml4e_t *pml4e, pml3_t pml3, pfn_t pml3_pfn)
void platform_pml1e_set_flags(pml1e_t *pml1e, vm_flags flags)
pml3_t platform_pml4e_get_pml3(const pml4e_t *pml4e)
vm_flags platform_pml3e_get_flags(const pml3e_t *pml3e)
vm_flags platform_pml4e_get_flags(const pml4e_t *pml4e)
vm_flags platform_pml1e_get_flags(const pml1e_t *pml1e)
pfn_t platform_pml2e_get_huge_pfn(const pml2e_t *pml2)
pfn_t platform_pml1e_get_pfn(const pml1e_t *pml1e)
void platform_pml2e_set_huge(pml2e_t *pml2e, pfn_t pfn)
void platform_pml2e_set_pml1(pml2e_t *pml2e, pml1_t pml1, pfn_t pml1_pfn)
void platform_pml3e_set_pml2(pml3e_t *pml3e, pml2_t pml2, pfn_t pml2_pfn)
bool platform_pml2e_is_huge(const pml2e_t *pml2e)
void platform_pml1e_set_pfn(pml1e_t *pml1e, pfn_t pfn)
void platform_pml3e_set_flags(pml3e_t *pml3e, vm_flags flags)
bool platform_pml1e_get_present(const pml1e_t *pml1e)
bool platform_pml2e_get_present(const pml2e_t *pml2e)
void platform_pml3e_set_huge(pml3e_t *pml3e, pfn_t pfn)
pfn_t platform_pml3e_get_huge_pfn(const pml3e_t *pml3)
static void x86_setup_direct_map(pml4_t pml4)
bool platform_pml4e_get_present(const pml4e_t *pml4e)
vm_flags platform_pml2e_get_flags(const pml2e_t *pml2e)
pml2_t platform_pml3e_get_pml2(const pml3e_t *pml3e)
#define CPU_FEATURE_PDPE1GB
#define cpu_has_feature(feat)
#define cast_to(value, valtype, desttype)
#define ALIGN_UP(addr, size)
pml2e_t * pml2_entry(pml2_t pml2, ptr_t vaddr)
pml2_t pml3e_get_or_create_pml2(pml3e_t *pml3e)
pml3e_t * pml3_entry(pml3_t pml3, ptr_t vaddr)
pml3_t pml4e_get_or_create_pml3(pml4e_t *pml4e)
pml4e_t * pml4_entry(pml4_t pml4, ptr_t vaddr)
#define pr_dinfo2(feat, fmt,...)