target/arm: Name CPSecureState type
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 1 May 2022 05:49:51 +0000 (22:49 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 May 2022 08:35:51 +0000 (09:35 +0100)
commitcbe645856fb17ca0f2395fa4a75d80bdd0421614
tree9c277e44bef1b16fcc73669b28f70d89f84c3927
parentd95101d6026641e9116225b5a22bbe6c4621828d
target/arm: Name CPSecureState type

Give this enum a name and use in ARMCPRegInfo and add_cpreg_to_hashtable.
Add the enumerator ARM_CP_SECSTATE_BOTH to clarify how 0
is handled in define_one_arm_cp_reg_with_opaque.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220501055028.646596-10-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpregs.h
target/arm/helper.c