mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
target/ppc: Implement watchpoint debug facility for v2.07S
ISA v2.07S introduced the watchpoint facility based on the DAWR0 and DAWRX0 SPRs. Implement this in TCG. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
14192307ef
commit
d5ee641cfc
10 changed files with 147 additions and 3 deletions
|
@ -576,6 +576,19 @@ void spr_write_ciabr(DisasContext *ctx, int sprn, int gprn)
|
|||
translator_io_start(&ctx->base);
|
||||
gen_helper_store_ciabr(cpu_env, cpu_gpr[gprn]);
|
||||
}
|
||||
|
||||
/* Watchpoint */
|
||||
void spr_write_dawr0(DisasContext *ctx, int sprn, int gprn)
|
||||
{
|
||||
translator_io_start(&ctx->base);
|
||||
gen_helper_store_dawr0(cpu_env, cpu_gpr[gprn]);
|
||||
}
|
||||
|
||||
void spr_write_dawrx0(DisasContext *ctx, int sprn, int gprn)
|
||||
{
|
||||
translator_io_start(&ctx->base);
|
||||
gen_helper_store_dawrx0(cpu_env, cpu_gpr[gprn]);
|
||||
}
|
||||
#endif /* defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY) */
|
||||
|
||||
/* CTR */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue