diff options
| author | Peter Maydell | 2014-09-12 15:06:48 +0200 |
|---|---|---|
| committer | Peter Maydell | 2014-09-12 15:06:48 +0200 |
| commit | 05068c0dfb5b23dde42ad0112123bdc8408a1f44 (patch) | |
| tree | 44c8833ddd70d44ae41fd6019502ab38417163f5 /include | |
| parent | hw/arm/virt: Provide flash devices for boot ROMs (diff) | |
| download | qemu-05068c0dfb5b23dde42ad0112123bdc8408a1f44.tar.gz qemu-05068c0dfb5b23dde42ad0112123bdc8408a1f44.tar.xz qemu-05068c0dfb5b23dde42ad0112123bdc8408a1f44.zip | |
exec.c: Relax restrictions on watchpoint length and alignment
The current implementation of watchpoints requires that they
have a power of 2 length which is not greater than TARGET_PAGE_SIZE
and that their address is a multiple of their length. Watchpoints
on ARM don't fit these restrictions, so change the implementation
so they can be relaxed.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qom/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h index 1aafbf5f34..7c06f3711a 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -169,7 +169,7 @@ typedef struct CPUBreakpoint { typedef struct CPUWatchpoint { vaddr vaddr; - vaddr len_mask; + vaddr len; int flags; /* BP_* */ QTAILQ_ENTRY(CPUWatchpoint) entry; } CPUWatchpoint; |
