target/arm: Store TCR_EL* registers as uint64_t
commitcb4a0a3444dc25fc5d69603ef098020a8767c6a0
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Jul 2022 13:23:02 +0000 (14 14:23 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 Jul 2022 12:20:13 +0000 (18 13:20 +0100)
tree2fb9053b35c48d2667e1d89c6d4bc53f5cdc3953
parent988cc1909f2895cb751fc9cc83ba51938be02183
target/arm: Store TCR_EL* registers as uint64_t

Change the representation of the TCR_EL* registers in the CPU state
struct from struct TCR to uint64_t.  This allows us to drop the
custom vmsa_ttbcr_raw_write() function, moving the "enforce RES0"
checks to their more usual location in the writefn
vmsa_ttbcr_write().  We also don't need the resetfn any more.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220714132303.1287193-7-peter.maydell@linaro.org
target/arm/cpu.c
target/arm/cpu.h
target/arm/debug_helper.c
target/arm/helper.c
target/arm/internals.h
target/arm/ptw.c