accel/tcg: Improve docstrings around TCGCPUOps::*watchpoint* handlers
Commit d5ee641cfc ("target/ppc: Implement watchpoint debug facility
for v2.07S") also implemented TCGCPUOps::debug_check_watchpoint for
PPC: make the comment generic.
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260705215729.62196-29-philmd@oss.qualcomm.com>
This commit is contained in:
@@ -250,14 +250,13 @@ struct TCGCPUOps {
|
|||||||
int mmu_idx, uintptr_t retaddr);
|
int mmu_idx, uintptr_t retaddr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @adjust_watchpoint_address: hack for cpu_check_watchpoint used by ARM
|
* @adjust_watchpoint_address: hack for cpu_check_watchpoint (used by ARM)
|
||||||
*/
|
*/
|
||||||
vaddr (*adjust_watchpoint_address)(CPUState *cpu, vaddr addr, int len);
|
vaddr (*adjust_watchpoint_address)(CPUState *cpu, vaddr addr, int len);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @debug_check_watchpoint: return true if the architectural
|
* @debug_check_watchpoint: return true if the architectural
|
||||||
* watchpoint whose address has matched should really fire, used by ARM
|
* watchpoint whose address has matched should really fire.
|
||||||
* and RISC-V
|
|
||||||
*/
|
*/
|
||||||
bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp);
|
bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user