PPC: Add breakpoint registers for 603 and e300
PATCH 1/1 PPC: Add breakpoint registers for 603 and e300
Signed-off-by Fabien Chouteau <[email protected]>
--- target-ppc/translate_init.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)
target-ppc/translate_init.c +34 -0
@@ -1149,6 +1149,13 @@ static void gen_spr_603 (CPUPPCState *env)SPR_NOACCESS ,SPR_NOACCESS , &spr_read_generic, &spr_write_generic, 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 */
@@ -4157,6 +4164,33 @@ static void init_proc_G2LE (CPUPPCState *env)SPR_NOACCESS ,SPR_NOACCESS , &spr_read_generic, &spr_write_generic, 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 */ gen_low_BATs (env);gen_high_BATs (env);
Signature · 1 line
1.7.9.5
Alexander Graf
AppliedQuoted 2 lines · Fabien Chouteau
Signed-off-by Fabien Chouteau <[email protected]>
Please provide a patch description next time.
Applied to ppc-next.
Alex
Quoted 8 lines · Alexander Graf
Quoted 2 lines · Fabien Chouteau
Signed-off-by Fabien Chouteau <[email protected]>Please provide a patch description next time.
It's pretty self explanatory, isn't it? :)
Quoted 2 lines
Applied to ppc-next.
Thanks,
Signature · 1 line
Fabien Chouteau
Quoted 11 lines · Fabien Chouteau
Quoted 8 lines · Alexander Graf
Quoted 2 lines · Fabien Chouteau
Signed-off-by Fabien Chouteau <[email protected]>Please provide a patch description next time.
It's pretty self explanatory, isn't it? :)
Yes, but I dislike patches that only have a subject, but no description :)
Alex