summaryrefslogtreecommitdiffstats
path: root/target-arm
diff options
context:
space:
mode:
authorEdgar E. Iglesias2014-05-27 18:09:52 +0200
committerPeter Maydell2014-05-27 18:09:52 +0200
commitcca7c2f5236bad765a3c613bdc092060830cbc0e (patch)
tree480a5eeeb1436cc9612d70c070462b4ca0866d7c /target-arm
parenttarget-arm: A64: Introduce aarch64_banked_spsr_index() (diff)
downloadqemu-cca7c2f5236bad765a3c613bdc092060830cbc0e.tar.gz
qemu-cca7c2f5236bad765a3c613bdc092060830cbc0e.tar.xz
qemu-cca7c2f5236bad765a3c613bdc092060830cbc0e.zip
target-arm: Add a feature flag for EL2
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1400980132-25949-14-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 5919dfda74..75a4ed88f6 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -633,6 +633,7 @@ enum arm_features {
ARM_FEATURE_CBAR, /* has cp15 CBAR */
ARM_FEATURE_CRC, /* ARMv8 CRC instructions */
ARM_FEATURE_CBAR_RO, /* has cp15 CBAR and it is read-only */
+ ARM_FEATURE_EL2, /* has EL2 Virtualization support */
};
static inline int arm_feature(CPUARMState *env, int feature)