Lines Matching refs:pte
292 for (every page/pte in the space) {
293 calc pve_ptr from the ppn in the pte
811 pt_entry_t pte;
835 pmap_pagetable_corruption_records[pmap_pagetable_corruption_log_index].pte = *ptep;
939 static inline __attribute__ ((always_inline)) pv_hashed_entry_t pmap_pv_remove(pmap_t pmap, vm_map_offset_t vaddr, ppnum_t * ppnp, pt_entry_t * pte)
954 pmap_pagetable_corruption_action_t pac = pmap_classify_pagetable_corruption(pmap, vaddr, ppnp, pte, ROOT_ABSENT);
958 panic("pmap_pv_remove(%p,0x%x,0x%x, 0x%x, %p, %p): null pv_list!", pmap, vaddr, ppn, *pte, ppnp, pte);
1009 panic("pmap_pv_remove(%p,0x%x,0x%x, 0x%x, %p): empty hash", pmap, vaddr, ppn, *pte, pte);
1023 pmap_pagetable_corruption_action_t pac = pmap_classify_pagetable_corruption(pmap, vaddr, ppnp, pte, ROOT_PRESENT);
1026 panic("pmap_pv_remove(%p, 0x%x, 0x%x, 0x%x, %p, %p): pv not on hash, head: %p, 0x%x", pmap, vaddr, ppn, *pte, ppnp, pte, pv_h->pmap, pv_h->va);
1077 pt_entry_t pte = 0;
1083 pte |= L2_ACCESS_USER;
1084 pte |= L2_ACCESS_PRW;
1090 pte &= ~(L2_ACCESS_APX); /* APX-bit, RW? */
1092 pte |= (L2_ACCESS_APX); /* APX-bit, R-? */
1098 pte |= L2_NX_BIT; /* XN-bit, R?X */
1100 return pte;
1431 pt_entry_t *pte;
1439 if ((pte = (pt_entry_t *)pmap_pte(map, va)) == (pt_entry_t *) 0)
1440 panic("pmap_change_wiring: pte missing");
1493 uint32_t tte, pte, *ptep;
1521 pte = L1_PTE_ADDR(tte);
1522 if (!pte)
1528 ptep = (uint32_t *) ((phys_to_virt(pte) + pte_offset(virt)));
2016 uint32_t ptep, pte, ppn;
2032 pte = (*(uint32_t *) (ptep));
2037 if (!((pte) & ARM_PTE_DESCRIPTOR_4K)) {
2042 ppn = pa_index(pte & L2_ADDR_MASK);
2116 uint32_t ptep, pte, ppn;
2584 uint32_t pte, *ptep;
2589 pte = L1_PTE_ADDR(tte);
2590 if (!pte)
2596 ptep = (uint32_t *) ((phys_to_virt(pte) + pte_offset(virt)));
2838 pt_entry_t pte;
2875 while ((pte = (pt_entry_t)pmap_pte(pmap, va)) == 0) {
2884 uint32_t old_pte = (*(uint32_t *) pte);
2893 old_pte = (*(uint32_t *) pte);
2929 *(uint32_t *) pte = template_pte;
2957 *(uint32_t *) pte = 0;
3105 *(uint32_t *) pte = template_pte;
3278 pt_entry_t *pte, dpte;
3279 pte = (pt_entry_t *)pmap_pte(kernel_pmap, dva);
3280 assert(pte);
3285 dpte = *pte;
3299 *pte = dpte;
3588 pt_entry_t *pte;
3637 pte = (pt_entry_t *)pmap_pte(pmap, vaddr);
3639 if (0 == pte) {
3652 *(pt_entry_t *) pte = 0;
3686 *(pt_entry_t *) pte |= (L2_ACCESS_APX);