ppc/ppc405: Restore TCR and STR write handlers
The 405 timers were broken when booke support was added. Assumption was made that the register numbers were the same but it's not : SPR_BOOKE_TSR (0x150) SPR_BOOKE_TCR (0x154) SPR_40x_TSR (0x3D8) SPR_40x_TCR (0x3DA) Cc: Christophe Leroy <christophe.leroy@c-s.fr> Fixes: ddd1055b ("PPC: booke timers") Reviewed-by:Richard Henderson <richard.henderson@linaro.org> Signed-off-by:
Cédric Le Goater <clg@kaod.org> Message-Id: <20211222064025.1541490-5-clg@kaod.org> Signed-off-by:
Cédric Le Goater <clg@kaod.org> Message-Id: <20220103063441.3424853-6-clg@kaod.org> Signed-off-by:
Cédric Le Goater <clg@kaod.org>
Showing
- hw/ppc/ppc.c 25 additions, 0 deletionshw/ppc/ppc.c
- hw/ppc/trace-events 2 additions, 0 deletionshw/ppc/trace-events
- target/ppc/cpu.h 2 additions, 0 deletionstarget/ppc/cpu.h
- target/ppc/cpu_init.c 2 additions, 2 deletionstarget/ppc/cpu_init.c
- target/ppc/helper.h 2 additions, 0 deletionstarget/ppc/helper.h
- target/ppc/spr_tcg.h 2 additions, 0 deletionstarget/ppc/spr_tcg.h
- target/ppc/timebase_helper.c 10 additions, 0 deletionstarget/ppc/timebase_helper.c
- target/ppc/translate.c 12 additions, 0 deletionstarget/ppc/translate.c
Loading
Please register or sign in to comment