qemu-e2k/target-arm
Peter Maydell 49a661910c target-arm: Add debug check for mismatched cpreg resets
It's easy to accidentally define two cpregs which both try
to reset the same underlying state field (for instance a
clash between an AArch64 EL3 definition and an AArch32
banked register definition). if the two definitions disagree
about the reset value then the result is dependent on which
one happened to be reached last in the hashtable enumeration.

Add a consistency check to detect and assert in these cases:
after reset, we run a second pass where we check that the
reset operation doesn't change the value of the register.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1436797559-20835-1-git-send-email-peter.maydell@linaro.org
2015-08-13 11:26:21 +01:00
..
arm_ldst.h
arm-semi.c
cpu64.c
cpu-qom.h target-arm: Add the Hypervisor timer 2015-08-13 11:26:18 +01:00
cpu.c target-arm: Add debug check for mismatched cpreg resets 2015-08-13 11:26:21 +01:00
cpu.h target-arm: Add debug check for mismatched cpreg resets 2015-08-13 11:26:21 +01:00
crypto_helper.c crypto: move built-in AES implementation into crypto/ 2015-07-07 12:04:13 +02:00
gdbstub64.c
gdbstub.c
helper-a64.c
helper-a64.h
helper.c target-arm: Add debug check for mismatched cpreg resets 2015-08-13 11:26:21 +01:00
helper.h target-arm: Split DISAS_YIELD from DISAS_WFE 2015-07-06 10:05:44 +01:00
internals.h
iwmmxt_helper.c
kvm32.c target-arm: kvm: Differentiate registers based on write-back levels 2015-07-21 11:18:45 +01:00
kvm64.c target-arm: kvm: Differentiate registers based on write-back levels 2015-07-21 11:18:45 +01:00
kvm_arm.h Introduce gic_class_name() instead of repeating condition 2015-08-13 11:26:21 +01:00
kvm-consts.h target-arm/kvm64: Add cortex-a53 cpu support 2015-06-15 18:06:08 +01:00
kvm-stub.c target-arm: kvm: Differentiate registers based on write-back levels 2015-07-21 11:18:45 +01:00
kvm.c target-arm: kvm: Differentiate registers based on write-back levels 2015-07-21 11:18:45 +01:00
machine.c target-arm: kvm: Differentiate registers based on write-back levels 2015-07-21 11:18:45 +01:00
Makefile.objs
neon_helper.c
op_addsub.h
op_helper.c target-arm: Split DISAS_YIELD from DISAS_WFE 2015-07-06 10:05:44 +01:00
psci.c
translate-a64.c target-arm: Split DISAS_YIELD from DISAS_WFE 2015-07-06 10:05:44 +01:00
translate.c target-arm: Implement YIELD insn to yield in ARM and Thumb translators 2015-07-06 10:05:44 +01:00
translate.h target-arm: Split DISAS_YIELD from DISAS_WFE 2015-07-06 10:05:44 +01:00