Home
last modified time | relevance | path

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

/qemu/target/ppc/
H A Dmmu_helper.c1010 uint32_t tlbncfg = 0; in booke206_cur_tlb() local
1016 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlb]; in booke206_cur_tlb()
1018 if ((tlbncfg & TLBnCFG_HES) && (env->spr[SPR_BOOKE_MAS0] & MAS0_HES)) { in booke206_cur_tlb()
1054 uint32_t tlbncfg, tlbn; in helper_booke206_tlbwe() local
1086 tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in helper_booke206_tlbwe()
1099 if ((env->spr[SPR_BOOKE_MAS1] & MAS1_VALID) && (tlbncfg & TLBnCFG_AVAIL) && in helper_booke206_tlbwe()
1134 if (!(tlbncfg & TLBnCFG_AVAIL)) { in helper_booke206_tlbwe()
1138 tlb->mas1 |= (tlbncfg & TLBnCFG_MINSIZE) >> 12; in helper_booke206_tlbwe()
1157 if (!(tlbncfg & TLBnCFG_IPROT)) { in helper_booke206_tlbwe()
H A Dcpu.h2754 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_size() local
2755 int r = tlbncfg & TLBnCFG_N_ENTRY; in booke206_tlb_size()
2761 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlb_ways() local
2762 int r = tlbncfg >> TLBnCFG_ASSOC_SHIFT; in booke206_tlb_ways()
2825 uint32_t tlbncfg = env->spr[SPR_BOOKE_TLB0CFG + tlbn]; in booke206_tlbnps() local
2826 uint32_t min = (tlbncfg & TLBnCFG_MINSIZE) >> TLBnCFG_MINSIZE_SHIFT; in booke206_tlbnps()
2827 uint32_t max = (tlbncfg & TLBnCFG_MAXSIZE) >> TLBnCFG_MAXSIZE_SHIFT; in booke206_tlbnps()
H A Dcpu_init.c896 tlbncfg[3]); in register_BookE206_sprs()
902 tlbncfg[2]); in register_BookE206_sprs()
908 tlbncfg[1]); in register_BookE206_sprs()
914 tlbncfg[0]); in register_BookE206_sprs()
2794 uint32_t tlbncfg[2]; in init_proc_e500() local
2849 tlbncfg[0] = register_tlbncfg(2, 1, 1, 0, 256); in init_proc_e500()
2853 tlbncfg[0] = register_tlbncfg(4, 1, 1, 0, 512); in init_proc_e500()
2858 tlbncfg[0] = register_tlbncfg(4, 1, 1, 0, 512); in init_proc_e500()
2864 tlbncfg[0] = 0x08052400; in init_proc_e500()
2865 tlbncfg[1] = 0x40028040; in init_proc_e500()
[all …]