]> git.proxmox.com Git - mirror_qemu.git/commit - hw/core/cpu.c
cpu: Add callback to check architectural watchpoint match
authorSergey Fedorov <serge.fdrv@gmail.com>
Thu, 11 Feb 2016 11:17:32 +0000 (11:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:32 +0000 (11:17 +0000)
commit568496c0c0f1863a4bc18539962cd8d81baa4e30
treef2e5e6fc8b4cc961becd9338dd65e21a9893fbef
parent7d197d2db5e99e4c8b20f6771ddc7303acaa1c89
cpu: Add callback to check architectural watchpoint match

When QEMU watchpoint matches, that is not definitely an architectural
watchpoint match yet. If it is a stop-before-access watchpoint then that
is hardly possible to ignore it after throwing a TCG exception.

A special callback is introduced to check for architectural watchpoint
match before raising a TCG exception.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1454256948-10485-2-git-send-email-serge.fdrv@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
exec.c
include/qom/cpu.h
qom/cpu.c