]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
exec.c: Record watchpoint fault address and direction
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:48 +0000 (14:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:48 +0000 (14:06 +0100)
commit08225676b279fd14683275b65ed701972e008043
treea44a2fddb77bb5781fb29f0a8c51b7adf6c7c8f0
parent3ee887e8ff7610d83bf05b0ebd5a1d891f0d8816
exec.c: Record watchpoint fault address and direction

When we check whether we've hit a watchpoint we know the address
that we were attempting to access and whether it was a read or a
write. Record this information in the CPUWatchpoint struct so that
target-specific code can report it to the guest.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
exec.c
include/qom/cpu.h