target/arm: Change cpreg access permissions to enum
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 1 May 2022 05:49:49 +0000 (22:49 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 May 2022 08:35:51 +0000 (09:35 +0100)
commit39107337181e0cfcbd92e67d10dce3acd5a13f0a
treea7c6944f1fd5d0323e88311c6c1af1e59add4171
parentd385a60571487d9409f247d07aac94d1ee40f9fe
target/arm: Change cpreg access permissions to enum

Create a typedef as well, and use it in ARMCPRegInfo.
This won't be perfect for debugging, but it'll nicely
display the most common cases.

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