Searched refs:tlb_vppn (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/loongarch/ |
H A D | cpu_helper.c | 98 uint64_t vpn, tlb_vppn; in loongarch_tlb_search() local 111 tlb_vppn = FIELD_EX64(tlb->tlb_misc, TLB_MISC, VPPN); in loongarch_tlb_search() 116 (vpn == (tlb_vppn >> compare_shift))) { in loongarch_tlb_search() 128 tlb_vppn = FIELD_EX64(tlb->tlb_misc, TLB_MISC, VPPN); in loongarch_tlb_search() 135 (vpn == (tlb_vppn >> compare_shift))) { in loongarch_tlb_search()
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | tlb_helper.c | 125 uint64_t tlb_vppn = FIELD_EX64(tlb->tlb_misc, TLB_MISC, VPPN); in invalidate_tlb_entry() local 136 addr = (tlb_vppn << R_TLB_MISC_VPPN_SHIFT) & ~mask; /* even */ in invalidate_tlb_entry() 142 addr = (tlb_vppn << R_TLB_MISC_VPPN_SHIFT) & pagesize; /* odd */ in invalidate_tlb_entry() 428 uint64_t vpn, tlb_vppn; in helper_invtlb_page_asid() local 436 tlb_vppn = FIELD_EX64(tlb->tlb_misc, TLB_MISC, VPPN); in helper_invtlb_page_asid() 441 (vpn == (tlb_vppn >> compare_shift))) { in helper_invtlb_page_asid() 457 uint64_t vpn, tlb_vppn; in helper_invtlb_page_asid_or_g() local 465 tlb_vppn = FIELD_EX64(tlb->tlb_misc, TLB_MISC, VPPN); in helper_invtlb_page_asid_or_g() 470 (vpn == (tlb_vppn >> compare_shift))) { in helper_invtlb_page_asid_or_g()
|