]> git.ipfire.org Git - thirdparty/qemu.git/commit - exec.c
exec.c: Relax restrictions on watchpoint length and alignment
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:48 +0000 (14:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:48 +0000 (14:06 +0100)
commit05068c0dfb5b23dde42ad0112123bdc8408a1f44
tree44c8833ddd70d44ae41fd6019502ab38417163f5
parentacf82361c61afe1fa842f0ae0d68b729509ec1ac
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>
exec.c
include/qom/cpu.h
linux-user/main.c