[PATCH 5/5] hw/core: tcg-cpu-ops.h: Update comments of debug_check_watchpoint()

Bin Meng posted 5 patches 4 years, 3 months ago
Maintainers: Bin Meng <bin.meng@windriver.com>, Alistair Francis <alistair.francis@wdc.com>, Palmer Dabbelt <palmer@dabbelt.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>
There is a newer version of this series
[PATCH 5/5] hw/core: tcg-cpu-ops.h: Update comments of debug_check_watchpoint()
Posted by Bin Meng 4 years, 3 months ago
This is now used by RISC-V as well. Update the comments.

Signed-off-by: Bin Meng <bin.meng@windriver.com>

---

 include/hw/core/tcg-cpu-ops.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/hw/core/tcg-cpu-ops.h b/include/hw/core/tcg-cpu-ops.h
index 6cbe17f2e6..532c148a80 100644
--- a/include/hw/core/tcg-cpu-ops.h
+++ b/include/hw/core/tcg-cpu-ops.h
@@ -92,6 +92,7 @@ struct TCGCPUOps {
     /**
      * @debug_check_watchpoint: return true if the architectural
      * watchpoint whose address has matched should really fire, used by ARM
+     * and RISC-V
      */
     bool (*debug_check_watchpoint)(CPUState *cpu, CPUWatchpoint *wp);
 
-- 
2.25.1


Re: [PATCH 5/5] hw/core: tcg-cpu-ops.h: Update comments of debug_check_watchpoint()
Posted by Richard Henderson 4 years, 3 months ago
On 10/29/21 8:25 AM, Bin Meng wrote:
> This is now used by RISC-V as well. Update the comments.
> 
> Signed-off-by: Bin Meng<bin.meng@windriver.com>
> 
> ---
> 
>   include/hw/core/tcg-cpu-ops.h | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~