qemu-e2k/target/arm
Peter Maydell 2b67d0ff97 target/arm: Add compile time asserts to load/store_cpu_field macros
Add some compile-time asserts to the load_cpu_field() and store_cpu_field()
macros that the struct field being accessed is the expected size. This
lets us catch cases where we incorrectly tried to do a 32-bit load
from a 64-bit struct field.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230424153909.1419369-3-peter.maydell@linaro.org
2023-05-02 15:47:41 +01:00
..
hvf
tcg target/arm: Define and use new load_cpu_field_low32() 2023-05-02 15:47:41 +01:00
arch_dump.c
arm_ldst.h
arm-powerctl.c
arm-powerctl.h
arm-qmp-cmds.c
common-semi-target.h
cortex-regs.c target/arm: Move cortex sysregs into a separate file 2023-05-02 10:21:32 +01:00
cpregs.h target/arm: Move cortex sysregs into a separate file 2023-05-02 10:21:32 +01:00
cpu64.c target/arm: Move 64-bit TCG CPUs into tcg/ 2023-05-02 10:21:32 +01:00
cpu-param.h
cpu-qom.h
cpu.c
cpu.h target/arm: Implement FEAT_PAN3 2023-04-20 10:21:16 +01:00
debug_helper.c
gdbstub64.c
gdbstub.c target/arm: Report pauth information to gdb as 'pauth_v2' 2023-04-20 10:21:16 +01:00
helper-a64.h
helper-mve.h
helper-sme.h
helper-sve.h
helper.c
helper.h
hvf_arm.h
idau.h
internals.h target/arm: Move 64-bit TCG CPUs into tcg/ 2023-05-02 10:21:32 +01:00
Kconfig arm/Kconfig: Always select SEMIHOSTING when TCG is present 2023-05-02 10:54:32 +01:00
kvm64.c target/arm: Initialize debug capabilities only once 2023-04-20 10:21:15 +01:00
kvm_arm.h target/arm: Initialize debug capabilities only once 2023-04-20 10:21:15 +01:00
kvm-consts.h
kvm-stub.c
kvm.c target/arm: Initialize debug capabilities only once 2023-04-20 10:21:15 +01:00
machine.c
meson.build target/arm: move cpu_tcg to tcg/cpu32.c 2023-05-02 10:54:31 +01:00
op_addsub.h
ptw.c target/arm: Implement FEAT_PAN3 2023-04-20 10:21:16 +01:00
sve_ldst_internal.h
syndrome.h
tcg-stubs.c
trace-events
trace.h
translate-a32.h target/arm: Add compile time asserts to load/store_cpu_field macros 2023-05-02 15:47:41 +01:00
vfp_helper.c