|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 05/13] softmmu/physmem: Check watchpoints for read+write at once |
Date: | Thu, 23 Feb 2023 22:27:46 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 23/2/23 21:43, Richard Henderson wrote:
Atomic operations are read-modify-write, and we'd like to be able to test both read and write with one call. This is easy enough, with BP_MEM_READ | BP_MEM_WRITE. Add BP_HIT_SHIFT to make it easy to set BP_WATCHPOINT_HIT_*. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- include/hw/core/cpu.h | 7 ++++--- softmmu/physmem.c | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |