Home
last modified time | relevance | path

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

/openbmc/qemu/target/ppc/
H A Dmmu_helper.c1023 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
1054 tlbn = (env->spr[SPR_BOOKE_MAS0] & MAS0_TLBSEL_MASK) >> MAS0_TLBSEL_SHIFT; in helper_booke206_tlbwe()
1055 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
1067 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
1101 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
1136 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
1139 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
1215 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
1219 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
1223 ppcmas_tlb_t *tlb = booke206_get_tlbm(env, tlbn, ea, i); in booke206_invalidate_ea_tlb()
H A Dcpu.h2778 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2780 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2787 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2811 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2813 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2820 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2822 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2830 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2835 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2849 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_common.c397 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
403 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()