Home
last modified time | relevance | path

Searched refs:mphys (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/amd64/amd64/
H A Defirt_machdep.c115 vm_paddr_t mphys; in efi_1t1_pte() local
123 mphys = VM_PAGE_TO_PHYS(m); in efi_1t1_pte()
124 *pml5e = mphys | X86_PG_RW | X86_PG_V; in efi_1t1_pte()
126 mphys = *pml5e & PG_FRAME; in efi_1t1_pte()
128 pml4e = (pml4_entry_t *)PHYS_TO_DMAP(mphys); in efi_1t1_pte()
136 mphys = VM_PAGE_TO_PHYS(m); in efi_1t1_pte()
137 *pml4e = mphys | X86_PG_RW | X86_PG_V; in efi_1t1_pte()
139 mphys = *pml4e & PG_FRAME; in efi_1t1_pte()
142 pdpe = (pdp_entry_t *)PHYS_TO_DMAP(mphys); in efi_1t1_pte()
147 mphys = VM_PAGE_TO_PHYS(m); in efi_1t1_pte()
[all …]
H A Dpmap.c10665 vm_paddr_t mphys; in pmap_large_map_pdpe() local
10676 mphys = kernel_pml4[pml4_idx] & PG_FRAME; in pmap_large_map_pdpe()
10677 return ((pdp_entry_t *)PHYS_TO_DMAP(mphys) + pmap_pdpe_index(va)); in pmap_large_map_pdpe()
10685 vm_paddr_t mphys; in pmap_large_map_pde() local
10693 mphys = VM_PAGE_TO_PHYS(m); in pmap_large_map_pde()
10694 *pdpe = mphys | X86_PG_A | X86_PG_RW | X86_PG_V | pg_nx; in pmap_large_map_pde()
10697 mphys = *pdpe & PG_FRAME; in pmap_large_map_pde()
10699 return ((pd_entry_t *)PHYS_TO_DMAP(mphys) + pmap_pde_index(va)); in pmap_large_map_pde()
10707 vm_paddr_t mphys; in pmap_large_map_pte() local
10715 mphys = VM_PAGE_TO_PHYS(m); in pmap_large_map_pte()
[all …]
/freebsd/sys/arm64/arm64/
H A Defirt_machdep.c99 vm_paddr_t mphys; in efi_1t1_l3() local
105 mphys = VM_PAGE_TO_PHYS(m); in efi_1t1_l3()
106 *l0 = PHYS_TO_PTE(mphys) | L0_TABLE; in efi_1t1_l3()
108 mphys = PTE_TO_PHYS(*l0); in efi_1t1_l3()
111 l1 = (pd_entry_t *)PHYS_TO_DMAP(mphys); in efi_1t1_l3()
116 mphys = VM_PAGE_TO_PHYS(m); in efi_1t1_l3()
117 *l1 = PHYS_TO_PTE(mphys) | L1_TABLE; in efi_1t1_l3()
119 mphys = PTE_TO_PHYS(*l1); in efi_1t1_l3()
122 l2 = (pd_entry_t *)PHYS_TO_DMAP(mphys); in efi_1t1_l3()
127 mphys = VM_PAGE_TO_PHYS(m); in efi_1t1_l3()
[all …]