diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-09-12 14:06:49 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-09-12 14:06:49 +0100 |
commit | 9ee98ce81089a123dd0c37f782d726bb14c67bf6 (patch) | |
tree | 02f2a5a4f342926966abfb20cf7eda1f45abb62d /target-arm/cpu.c | |
parent | 86025ee4438e6e46eed767aad7c17ea94bb5c19b (diff) | |
download | qemu-9ee98ce81089a123dd0c37f782d726bb14c67bf6.zip qemu-9ee98ce81089a123dd0c37f782d726bb14c67bf6.tar.gz qemu-9ee98ce81089a123dd0c37f782d726bb14c67bf6.tar.bz2 |
target-arm: Implement setting of watchpoints
Implement support for setting QEMU watchpoints based on the
values the guest writes to the ARM architected watchpoint
registers. (We do not yet report the firing of the watchpoints
to the guest, so they will just be ignored.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu.c')
-rw-r--r-- | target-arm/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-arm/cpu.c b/target-arm/cpu.c index bdd23b4..6c40ecd 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -184,6 +184,8 @@ static void arm_cpu_reset(CPUState *s) kvm_arm_reset_vcpu(cpu); } #endif + + hw_watchpoint_update_all(cpu); } #ifndef CONFIG_USER_ONLY |