target-arm: Use attribute info to handle user-only watchpoints
commit9e1fc5bdfdf94564abf7621c0ef644599196360f
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 26 Apr 2015 15:49:25 +0000 (26 16:49 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 26 Apr 2015 15:49:25 +0000 (26 16:49 +0100)
tree00cdb4b85b42e70f6eabc242a7e7a6ef1bd41605
parent0995bf8cd91b81ec9c1078e37b808794080dc5c0
target-arm: Use attribute info to handle user-only watchpoints

Now that we have memory access attribute information in the watchpoint
checking code, we can correctly implement handling of watchpoints
which should match only on userspace accesses, where LDRT/STRT/LDT/STT
from EL1 are treated as userspace accesses.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
target-arm/op_helper.c