Home
last modified time | relevance | path

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

/freebsd/sys/arm64/iommu/
H A Diommu_pmap.c585 pt_entry_t new_l3; in pmap_gpu_enter() local
598 new_l3 = (pt_entry_t)(pa | ATTR_SH(ATTR_SH_IS) | IOMMU_L3_BLOCK); in pmap_gpu_enter()
601 new_l3 |= ATTR_S2_S2AP(ATTR_S2_S2AP_WRITE); in pmap_gpu_enter()
603 new_l3 |= ATTR_S2_S2AP(ATTR_S2_S2AP_READ); in pmap_gpu_enter()
605 new_l3 |= ATTR_S2_XN(ATTR_S2_XN_ALL); in pmap_gpu_enter()
645 smmu_pmap_store(l3, new_l3); in pmap_gpu_enter()
701 pt_entry_t new_l3; in smmu_pmap_enter() local
711 new_l3 = (pt_entry_t)(pa | ATTR_AF | ATTR_SH(ATTR_SH_IS) | in smmu_pmap_enter()
714 new_l3 |= ATTR_S1_AP(ATTR_S1_AP_RO); in smmu_pmap_enter()
715 new_l3 |= ATTR_S1_XN; /* Execute never. */ in smmu_pmap_enter()
[all …]
/freebsd/sys/riscv/riscv/
H A Dpmap.c3156 pt_entry_t new_l3, orig_l3; in pmap_enter() local
3171 new_l3 = PTE_V | PTE_R | PTE_A; in pmap_enter()
3173 new_l3 |= PTE_X; in pmap_enter()
3175 new_l3 |= PTE_D; in pmap_enter()
3177 new_l3 |= PTE_W; in pmap_enter()
3179 new_l3 |= PTE_U; in pmap_enter()
3181 new_l3 |= (pn << PTE_PPN0_S); in pmap_enter()
3183 new_l3 |= PTE_SW_WIRED; in pmap_enter()
3184 new_l3 |= pmap_memattr_bits(m->md.pv_memattr); in pmap_enter()
3193 new_l3 |= PTE_D; in pmap_enter()
[all …]
/freebsd/sys/arm64/arm64/
H A Dpmap.c5125 pt_entry_t new_l3, orig_l3; in pmap_enter() local
5140 new_l3 = (pt_entry_t)(PHYS_TO_PTE(pa) | ATTR_AF | pmap_sh_attr | in pmap_enter()
5142 new_l3 |= pmap_pte_memattr(pmap, m->md.pv_memattr); in pmap_enter()
5143 new_l3 |= pmap_pte_prot(pmap, prot); in pmap_enter()
5145 new_l3 |= ATTR_SW_WIRED; in pmap_enter()
5148 new_l3 |= ATTR_S1_AP(ATTR_S1_AP_USER) | ATTR_S1_PXN; in pmap_enter()
5150 new_l3 |= ATTR_S1_UXN; in pmap_enter()
5152 new_l3 |= ATTR_S1_nG; in pmap_enter()
5165 new_l3 &= ~ATTR_AF; in pmap_enter()
5168 new_l3 |= ATTR_SW_MANAGED; in pmap_enter()
[all …]