unicorn/qemu
Julian Brown cc217b0c90
arm: Correctly handle watchpoints for BE32 CPUs
In BE32 mode, sub-word size watchpoints can fail to trigger because the
address of the access is adjusted in the opcode helpers before being
compared with the watchpoint registers. This patch reverses the address
adjustment before performing the comparison with the help of a new CPUClass
hook.

This version of the patch augments and tidies up comments a little.

Backports commit 40612000599e52e792d23c998377a0fa429c4036 from qemu
2018-03-02 00:24:33 -05:00
..
crypto
default-configs
docs
fpu softfloat: Fix the default qNAN for target-ppc 2018-03-02 00:15:36 -05:00
hw i386: Remove AMD feature flag aliases from Opteron models 2018-03-01 23:49:04 -05:00
include arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
qapi
qobject
qom arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
scripts
target arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
tcg tcg/i386: Handle ctpop opcode 2018-03-01 18:49:43 -05:00
util util/mmap-alloc: refactor a little bit for readability 2018-03-01 23:55:15 -05:00
aarch64.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
aarch64eb.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
accel.c
arm.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
armeb.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
atomic_template.h
CODING_STYLE
configure
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c target-i386: correctly propagate retaddr into SVM helpers 2018-03-01 09:31:16 -05:00
cpus.c
cputlb.c cputlb: drop flush_global flag from tlb_flush 2018-03-01 19:36:04 -05:00
exec.c memory: don't sign-extend 32-bit writes 2018-03-02 00:00:22 -05:00
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
ioport.c
LICENSE
m68k.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
Makefile
Makefile.objs
Makefile.target Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
memory.c cputlb: drop flush_global flag from tlb_flush 2018-03-01 19:36:04 -05:00
memory_ldst.inc.c exec: introduce memory_ldst.inc.c 2018-03-01 09:59:34 -05:00
memory_mapping.c
mips.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
mips64.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
mips64el.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
mipsel.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
powerpc.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
qapi-schema.json
qemu-timer.c
rules.mak
softmmu_template.h
sparc.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
sparc64.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00
tcg-runtime.c tcg: Add opcode for ctpop 2018-03-01 18:26:41 -05:00
translate-all.c translate-all: Avoid -Werror=switch-bool 2018-03-01 13:01:50 -05:00
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h arm: Correctly handle watchpoints for BE32 CPUs 2018-03-02 00:24:33 -05:00