| 56ad8b00 | 24-Aug-2019 |
Richard Henderson <richard.henderson@linaro.org> |
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 exp
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>
show more ...
|
| 0026348b | 23-Aug-2019 |
David Hildenbrand <david@redhat.com> |
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: D
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>
show more ...
|