]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
exec.c: Capture the memory attributes for a watchpoint hit
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 26 Apr 2015 15:49:24 +0000 (16:49 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 26 Apr 2015 15:49:24 +0000 (16:49 +0100)
commit66b9b43c42049bcae37668e890fedde9a72c8167
tree03be988ee0be12432fb993745b3823974e348040
parent500131154d677930fce35ec3a6f0b5a26bcd2973
exec.c: Capture the memory attributes for a watchpoint hit

Capture the memory attributes for the transaction which triggered
a watchpoint; this allows CPU specific code to implement features
like ARM's "user-mode only WPs also hit for LDRT/STRT accesses
made from privileged code". This change also correctly passes
through the memory attributes to the underlying device when
a watchpoint access doesn't hit.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
exec.c
include/qom/cpu.h