]> git.proxmox.com Git - mirror_qemu.git/commit - exec.c
exec: Factor out cpu_watchpoint_address_matches
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 24 Aug 2019 15:21:34 +0000 (08:21 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:30:39 +0000 (08:30 -0700)
commit56ad8b007dde7a61e02582e1f2d5c57fc0165a6b
treee467f93b618184af064efc0bd911dfe7648d1bce
parent30d7e098d5c38644359820317fcf72e3e129ec53
exec: Factor out cpu_watchpoint_address_matches

We want to move the check for watchpoints from
memory_region_section_get_iotlb to tlb_set_page_with_attrs.
Isolate the loop over watchpoints to an exported function.

Rename the existing cpu_watchpoint_address_matches to
watchpoint_address_matches, since it doesn't actually
have a cpu argument.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
exec.c
include/hw/core/cpu.h