]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commitdiff
target-arm: Add a feature flag for EL2
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 27 May 2014 16:09:52 +0000 (17:09 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 May 2014 16:09:52 +0000 (17:09 +0100)
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>
target-arm/cpu.h

index 5919dfda748834c0252db4a8c9fee0a543a75fb5..75a4ed88f6a730b70e23e018f9dcca29dd5e9e96 100644 (file)
@@ -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)