Home
last modified time | relevance | path

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

/dports/emulators/qemu-utils/qemu-4.2.1/target/ppc/
H A Dcpu.h2437 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2439 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2446 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2470 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2472 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2479 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2481 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2489 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2494 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2508 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1173 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
1179 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
2703 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
2735 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
2747 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
2781 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
2816 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
2819 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
2895 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
2899 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/target/ppc/
H A Dcpu.h2420 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2422 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2429 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2453 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2455 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2462 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2464 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2472 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2477 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2491 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1173 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
1179 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
2703 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
2735 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
2747 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
2781 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
2816 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
2819 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
2895 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
2899 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/ppc/
H A Dcpu.h2395 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2397 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2404 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2428 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2430 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2437 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2439 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2447 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2452 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2466 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1173 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
1179 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
2703 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
2735 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
2747 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
2781 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
2816 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
2819 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
2895 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
2899 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/target/ppc/
H A Dcpu.h2437 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2439 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2446 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2470 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2472 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2479 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2481 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2489 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2494 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2508 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1173 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
1179 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
2703 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
2735 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
2747 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
2781 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
2816 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
2819 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
2895 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
2899 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/ppc/
H A Dcpu.h2451 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2453 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2460 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2484 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2486 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2493 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2495 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2503 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2508 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2522 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1164 CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
1170 cpu_fprintf(f, "\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
2692 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
2724 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
2736 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
2768 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
2802 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
2805 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
2881 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
2885 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/ppc/
H A Dcpu.h2395 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2397 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2404 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2428 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2430 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2437 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2439 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2447 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2452 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2466 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1173 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
1179 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
2703 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
2735 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
2747 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
2781 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
2816 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
2819 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
2895 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
2899 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/target/ppc/
H A Dcpu.h2423 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2425 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2432 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2456 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2458 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2465 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2467 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2475 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2480 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2494 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1173 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
1179 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
2704 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
2736 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
2748 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
2782 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
2817 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
2820 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
2896 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
2900 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/ppc/
H A Dcpu.h2453 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2455 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2462 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2486 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2488 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2495 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2497 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2505 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2510 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2524 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1026 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
1057 tlbn = (env->spr[SPR_BOOKE_MAS0] & MAS0_TLBSEL_MASK) >> MAS0_TLBSEL_SHIFT; in helper_booke206_tlbwe()
1058 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
1070 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
1104 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
1139 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
1142 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
1218 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
1222 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
1226 ppcmas_tlb_t *tlb = booke206_get_tlbm(env, tlbn, ea, i); in booke206_invalidate_ea_tlb()
H A Dmmu_common.c983 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
989 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
/dports/emulators/qemu/qemu-6.2.0/target/ppc/
H A Dcpu.h2474 static inline int booke206_tlb_size(CPUPPCState *env, int tlbn) in booke206_tlb_size() argument
2476 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size()
2483 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways()
2507 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlbm_to_way() local
2509 return tlbid & (booke206_tlb_ways(env, tlbn) - 1); in booke206_tlbm_to_way()
2516 uint32_t ways = booke206_tlb_ways(env, tlbn); in booke206_get_tlbm()
2518 int tlb_bits = ctz32(booke206_tlb_size(env, tlbn)); in booke206_get_tlbm()
2526 if (r >= booke206_tlb_size(env, tlbn)) { in booke206_get_tlbm()
2531 for (i = 0; i < tlbn; i++) { in booke206_get_tlbm()
2545 ret = env->spr[SPR_BOOKE_TLB0PS + tlbn]; in booke206_tlbnps()
[all …]
H A Dmmu_helper.c1026 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
1057 tlbn = (env->spr[SPR_BOOKE_MAS0] & MAS0_TLBSEL_MASK) >> MAS0_TLBSEL_SHIFT; in helper_booke206_tlbwe()
1058 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
1070 size_ps = booke206_tlbnps(env, tlbn); in helper_booke206_tlbwe()
1104 booke206_fixed_size_tlbn(env, tlbn, tlb); in helper_booke206_tlbwe()
1139 int tlbn = booke206_tlbm_to_tlbn(env, tlb); in booke206_tlb_to_mas() local
1142 env->spr[SPR_BOOKE_MAS0] = tlbn << MAS0_TLBSEL_SHIFT; in booke206_tlb_to_mas()
1218 static inline void booke206_invalidate_ea_tlb(CPUPPCState *env, int tlbn, in booke206_invalidate_ea_tlb() argument
1222 int ways = booke206_tlb_ways(env, tlbn); in booke206_invalidate_ea_tlb()
1226 ppcmas_tlb_t *tlb = booke206_get_tlbm(env, tlbn, ea, i); in booke206_invalidate_ea_tlb()
H A Dmmu_common.c983 static void mmubooke206_dump_one_tlb(CPUPPCState *env, int tlbn, int offset, in mmubooke206_dump_one_tlb() argument
989 qemu_printf("\nTLB%d:\n", tlbn); in mmubooke206_dump_one_tlb()
/dports/emulators/simh/simh-3.9.0_5/VAX/
H A Dvax_mmu.c579 int32 tlbn = uptr - tlb_unit; in tlb_ex() local
585 *vptr = ((uint32) (tlbn? stlb[idx].pte: ptlb[idx].pte)); in tlb_ex()
586 else *vptr = ((uint32) (tlbn? stlb[idx].tag: ptlb[idx].tag)); in tlb_ex()
594 int32 tlbn = uptr - tlb_unit; in tlb_dep() local
600 if (tlbn) stlb[idx].pte = (int32) val; in tlb_dep()
604 if (tlbn) stlb[idx].tag = (int32) val; in tlb_dep()