mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -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
|
@ -1138,6 +1138,7 @@ struct CPUArchState {
|
|||
#if defined(TARGET_PPC64)
|
||||
ppc_slb_t slb[MAX_SLB_ENTRIES]; /* PowerPC 64 SLB area */
|
||||
struct CPUBreakpoint *ciabr_breakpoint;
|
||||
struct CPUWatchpoint *dawr0_watchpoint;
|
||||
#endif
|
||||
target_ulong sr[32]; /* segment registers */
|
||||
uint32_t nb_BATs; /* number of BATs */
|
||||
|
@ -1406,6 +1407,9 @@ void ppc_store_sdr1(CPUPPCState *env, target_ulong value);
|
|||
void ppc_store_lpcr(PowerPCCPU *cpu, target_ulong val);
|
||||
void ppc_update_ciabr(CPUPPCState *env);
|
||||
void ppc_store_ciabr(CPUPPCState *env, target_ulong value);
|
||||
void ppc_update_daw0(CPUPPCState *env);
|
||||
void ppc_store_dawr0(CPUPPCState *env, target_ulong value);
|
||||
void ppc_store_dawrx0(CPUPPCState *env, uint32_t value);
|
||||
#endif /* !defined(CONFIG_USER_ONLY) */
|
||||
void ppc_store_msr(CPUPPCState *env, target_ulong value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue