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.hender...@linaro.org>
---
include/hw/core/cpu.h | 7 ++++---
softmmu/physmem.c | 19 ++++++++++---------
2 files changed, 14 insertions(+), 12 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>