mips: Default to using one VPE and one TC.
Boards can override the setup if needed. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
		
							parent
							
								
									ded4008881
								
							
						
					
					
						commit
						1dab005ae2
					
				| 
						 | 
					@ -580,7 +580,7 @@ static void mvp_init (CPUMIPSState *env, const mips_def_t *def)
 | 
				
			||||||
//                             (1 << CP0MVPC0_TCA) | (0x1 << CP0MVPC0_PVPE) |
 | 
					//                             (1 << CP0MVPC0_TCA) | (0x1 << CP0MVPC0_PVPE) |
 | 
				
			||||||
//                             (0x04 << CP0MVPC0_PTC);
 | 
					//                             (0x04 << CP0MVPC0_PTC);
 | 
				
			||||||
                             (1 << CP0MVPC0_TCA) | (0x0 << CP0MVPC0_PVPE) |
 | 
					                             (1 << CP0MVPC0_TCA) | (0x0 << CP0MVPC0_PVPE) |
 | 
				
			||||||
                             (0x04 << CP0MVPC0_PTC);
 | 
					                             (0x00 << CP0MVPC0_PTC);
 | 
				
			||||||
#if !defined(CONFIG_USER_ONLY)
 | 
					#if !defined(CONFIG_USER_ONLY)
 | 
				
			||||||
    /* Usermode has no TLB support */
 | 
					    /* Usermode has no TLB support */
 | 
				
			||||||
    env->mvp->CP0_MVPConf0 |= (env->tlb->nb_tlb << CP0MVPC0_PTLBE);
 | 
					    env->mvp->CP0_MVPConf0 |= (env->tlb->nb_tlb << CP0MVPC0_PTLBE);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue