Home
last modified time | relevance | path

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

/qemu/target/ppc/
H A Dmmu-hash64.c392 return (pte.pte1 & HPTE64_R_N) || (pte.pte1 & HPTE64_R_G) ? in ppc_hash64_pte_noexec_guard()
409 pp = (pte.pte1 & HPTE64_R_PP) | ((pte.pte1 & HPTE64_R_PP0) >> 61); in ppc_hash64_pte_prot()
472 key = HPTE64_R_KEY(pte.pte1); in ppc_hash64_amr_prot()
589 ((*pte1 & HPTE64_R_3_0_SSIZE_MASK) << in ppc64_v3_new_to_old_hpte()
593 *pte1 = *pte1 & ~HPTE64_R_3_0_SSIZE_MASK; in ppc64_v3_new_to_old_hpte()
604 target_ulong pte0, pte1; in ppc_hash64_pteg_search() local
620 pte1 = ppc_hash64_hpte1(cpu, pteg, i); in ppc_hash64_pteg_search()
645 pte->pte1 = pte1; in ppc_hash64_pteg_search()
1130 if (!(pte.pte1 & HPTE64_R_R)) { in ppc_hash64_xlate()
1131 ppc_hash64_set_r(cpu, ptex, pte.pte1); in ppc_hash64_xlate()
[all …]
H A Dmmu-hash32.c46 pp = pte.pte1 & HPTE32_R_PP; in ppc_hash32_pte_prot()
240 target_ulong pte0, pte1; in ppc_hash32_pteg_search() local
251 pte1 = ppc_hash32_load_hpte1(cpu, pte_offset); in ppc_hash32_pteg_search()
257 pte->pte1 = pte1; in ppc_hash32_pteg_search()
273 stb_phys(CPU(cpu)->as, base + offset, ((pte1 >> 8) & 0xff) | 0x01); in ppc_hash32_set_r()
282 stb_phys(CPU(cpu)->as, base + offset, (pte1 & 0xff) | 0x80); in ppc_hash32_set_c()
328 hwaddr rpn = pte.pte1 & HPTE32_R_RPN; in ppc_hash32_pte_raddr()
454 if (!(pte.pte1 & HPTE32_R_R)) { in ppc_hash32_xlate()
455 ppc_hash32_set_r(cpu, pte_offset, pte.pte1); in ppc_hash32_xlate()
457 if (!(pte.pte1 & HPTE32_R_C)) { in ppc_hash32_xlate()
[all …]
H A Dmmu-hash64.h15 target_ulong pte0, target_ulong pte1);
17 uint64_t pte0, uint64_t pte1);
116 uint64_t pte0, pte1; member
133 return ldq_p(&(hptes[i].pte1)); in ppc_hash64_hpte1()
H A Dmmu-hash32.h98 hwaddr pte_offset, target_ulong pte1) in ppc_hash32_store_hpte1() argument
102 stl_phys(CPU(cpu)->as, base + pte_offset + HASH_PTE_SIZE_32 / 2, pte1); in ppc_hash32_store_hpte1()
151 uint32_t pte0, pte1; member
H A Dmmu_common.c98 target_ulong pte1, int h, in ppc6xx_tlb_pte_check() argument
112 pp = pte1 & 0x00000003; in ppc6xx_tlb_pte_check()
116 if ((ctx->raddr & mmask) != (pte1 & mmask)) { in ppc6xx_tlb_pte_check()
122 ctx->raddr = pte1; in ppc6xx_tlb_pte_check()
191 tlb->EPN, eaddr, tlb->pte1, in ppc6xx_tlb_check()
194 switch (ppc6xx_tlb_pte_check(ctx, tlb->pte0, tlb->pte1, in ppc6xx_tlb_check()
224 pte_update_flags(ctx, &env->tlb.tlb6[best].pte1, ret, access_type); in ppc6xx_tlb_check()
H A Dkvm_ppc.h65 void kvmppc_write_hpte(hwaddr ptex, uint64_t pte0, uint64_t pte1);
321 static inline void kvmppc_write_hpte(hwaddr ptex, uint64_t pte0, uint64_t pte1) in kvmppc_write_hpte() argument
H A Dmmu_helper.c91 int is_code, target_ulong pte0, target_ulong pte1) in ppc6xx_tlb_store() argument
100 EPN, pte0, pte1); in ppc6xx_tlb_store()
104 tlb->pte1 = pte1; in ppc6xx_tlb_store()
H A Dkvm.c2801 void kvmppc_write_hpte(hwaddr ptex, uint64_t pte0, uint64_t pte1) in kvmppc_write_hpte() argument
2807 uint64_t pte1; in kvmppc_write_hpte() member
2816 buf.pte1 = cpu_to_be64(pte1); in kvmppc_write_hpte()
H A Dcpu.h355 target_ulong pte1; member
1555 void (*hpte_set_c)(PPCVirtualHypervisor *vhyp, hwaddr ptex, uint64_t pte1);
1556 void (*hpte_set_r)(PPCVirtualHypervisor *vhyp, hwaddr ptex, uint64_t pte1);
H A Dmachine.c570 VMSTATE_UINTTL(pte1, ppc6xx_tlb_t),
/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c433 uint64_t pte0, uint64_t pte1) in new_hpte_store() argument
441 stq_p(addr + HPTE64_DW1, pte1); in new_hpte_store()
453 target_ulong pte1; in rehash_hpte() local
462 pte1 = ppc_hash64_hpte1(cpu, hptes, slot); in rehash_hpte()
464 base_pg_shift = ppc_hash64_hpte_page_shift_noslb(cpu, pte0, pte1); in rehash_hpte()
529 new_hpte_store(new_hpt, new_pteg, slot, pte0, pte1); in rehash_hpte()
H A Dspapr.c1552 uint64_t pte0, uint64_t pte1) in spapr_store_hpte() argument
1558 kvmppc_write_hpte(ptex, pte0, pte1); in spapr_store_hpte()
1561 stq_p(spapr->htab + offset + HPTE64_DW1, pte1); in spapr_store_hpte()
1577 stq_p(spapr->htab + offset + HPTE64_DW1, pte1); in spapr_store_hpte()
1583 uint64_t pte1) in spapr_hpte_set_c() argument
1595 stb_p(spapr->htab + offset, (pte1 & 0xff) | 0x80); in spapr_hpte_set_c()
1599 uint64_t pte1) in spapr_hpte_set_r() argument
1611 stb_p(spapr->htab + offset, ((pte1 >> 8) & 0xff) | 0x01); in spapr_hpte_set_r()
/qemu/include/hw/ppc/
H A Dspapr.h934 uint64_t pte0, uint64_t pte1);