PPC: Add breakpoint registers for 603 and e300
Signed-off-by: Fabien Chouteau <chouteau@adacore.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
		
							parent
							
								
									09d9828ace
								
							
						
					
					
						commit
						2bc173224a
					
				@ -1149,6 +1149,13 @@ static void gen_spr_603 (CPUPPCState *env)
 | 
				
			|||||||
                 SPR_NOACCESS, SPR_NOACCESS,
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
                 &spr_read_generic, &spr_write_generic,
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
                 0x00000000);
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					    /* Breakpoints */
 | 
				
			||||||
 | 
					    /* XXX : not implemented */
 | 
				
			||||||
 | 
					    spr_register(env, SPR_IABR, "IABR",
 | 
				
			||||||
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* SPR specific to PowerPC G2 implementation */
 | 
					/* SPR specific to PowerPC G2 implementation */
 | 
				
			||||||
@ -4138,6 +4145,33 @@ static void init_proc_G2LE (CPUPPCState *env)
 | 
				
			|||||||
                 SPR_NOACCESS, SPR_NOACCESS,
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
                 &spr_read_generic, &spr_write_generic,
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
                 0x00000000);
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					    /* Breakpoints */
 | 
				
			||||||
 | 
					    /* XXX : not implemented */
 | 
				
			||||||
 | 
					    spr_register(env, SPR_DABR, "DABR",
 | 
				
			||||||
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					    /* XXX : not implemented */
 | 
				
			||||||
 | 
					    spr_register(env, SPR_DABR2, "DABR2",
 | 
				
			||||||
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					    /* XXX : not implemented */
 | 
				
			||||||
 | 
					    spr_register(env, SPR_IABR2, "IABR2",
 | 
				
			||||||
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					    /* XXX : not implemented */
 | 
				
			||||||
 | 
					    spr_register(env, SPR_IBCR, "IBCR",
 | 
				
			||||||
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					    /* XXX : not implemented */
 | 
				
			||||||
 | 
					    spr_register(env, SPR_DBCR, "DBCR",
 | 
				
			||||||
 | 
					                 SPR_NOACCESS, SPR_NOACCESS,
 | 
				
			||||||
 | 
					                 &spr_read_generic, &spr_write_generic,
 | 
				
			||||||
 | 
					                 0x00000000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Memory management */
 | 
					    /* Memory management */
 | 
				
			||||||
    gen_low_BATs(env);
 | 
					    gen_low_BATs(env);
 | 
				
			||||||
    gen_high_BATs(env);
 | 
					    gen_high_BATs(env);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user