aboutsummaryrefslogtreecommitdiff
path: root/target/arm/cpregs.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-20 10:51:48 -0700
committerPeter Maydell <peter.maydell@linaro.org>2022-06-27 11:18:17 +0100
commitbca063d579cbd6075d0bab78cc702131df199d6e (patch)
tree559c28e175e83d40234d6bb20f1b9bab1968959c /target/arm/cpregs.h
parent58b2908ee1011c33cc01d7d9341673f8af6d14b7 (diff)
downloadqemu-bca063d579cbd6075d0bab78cc702131df199d6e.zip
qemu-bca063d579cbd6075d0bab78cc702131df199d6e.tar.gz
qemu-bca063d579cbd6075d0bab78cc702131df199d6e.tar.bz2
target/arm: Add ARM_CP_SME
This will be used for controlling access to SME cpregs. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220620175235.60881-5-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpregs.h')
-rw-r--r--target/arm/cpregs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/cpregs.h b/target/arm/cpregs.h
index d9b678c..d30758e 100644
--- a/target/arm/cpregs.h
+++ b/target/arm/cpregs.h
@@ -113,6 +113,11 @@ enum {
ARM_CP_EL3_NO_EL2_UNDEF = 1 << 16,
ARM_CP_EL3_NO_EL2_KEEP = 1 << 17,
ARM_CP_EL3_NO_EL2_C_NZ = 1 << 18,
+ /*
+ * Flag: Access check for this sysreg is constrained by the
+ * ARM pseudocode function CheckSMEAccess().
+ */
+ ARM_CP_SME = 1 << 19,
};
/*