Home
last modified time | relevance | path

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

/netbsd/src/sys/arch/powerpc/booke/
De500_tlb.c111 register_t prot_mask; in hwtlb_to_tlb() local
120 prot_mask = MAS3_UX|MAS3_UW|MAS3_UR; in hwtlb_to_tlb()
123 prot_mask = MAS3_SX|MAS3_SW|MAS3_SR; in hwtlb_to_tlb()
126 tlb.tlb_pte |= (prot_mask & hwtlb.hwtlb_mas3) << prot_shift; in hwtlb_to_tlb()
236 const uint32_t prot_mask = tlb.tlb_pte & PTE_RWX_MASK; in tlb_to_hwtlb() local
247 hwtlb.hwtlb_mas3 = (prot_mask >> (PTE_RWX_SHIFT - 1)) in tlb_to_hwtlb()
248 | ((prot_mask & ~PTE_xX) >> PTE_RWX_SHIFT); in tlb_to_hwtlb()
249 KASSERT(prot_mask & PTE_xR); in tlb_to_hwtlb()
254 hwtlb.hwtlb_mas3 = prot_mask >> PTE_RWX_SHIFT; in tlb_to_hwtlb()
275 hwtlb.hwtlb_mas3 = prot_mask >> PTE_RWX_SHIFT; in tlb_to_hwtlb()