]> git.proxmox.com Git - mirror_qemu.git/commit
exec: Factor out core logic of check_watchpoint()
authorDavid Hildenbrand <david@redhat.com>
Fri, 23 Aug 2019 10:07:40 +0000 (12:07 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:30:39 +0000 (08:30 -0700)
commit0026348b48fe532279e8c12b100c16c1aa991373
treecbb0e35f93d6dff9770be449729c95441cc423c6
parent74841f044e96644d8ed8a388fe505df5ab843d0a
exec: Factor out core logic of check_watchpoint()

We want to perform the same checks in probe_write() to trigger a cpu
exit before doing any modifications. We'll have to pass a PC.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190823100741.9621-9-david@redhat.com>
[rth: Use vaddr for len, like other watchpoint functions;
Move user-only stub to static inline.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
exec.c
include/hw/core/cpu.h