]> git.proxmox.com Git - qemu.git/commitdiff
target-arm: make VMSAv7 remapping and AP dependent on V6K
authorJamie Iles <jamie@jamieiles.com>
Thu, 23 Jun 2011 01:12:59 +0000 (01:12 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jul 2011 14:22:31 +0000 (14:22 +0000)
The VMSAv7 remapping and access permissions were introduced in ARMv6K
and not ARMv7.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c

index ae4f334e40a5b4c1725f1ec077088766d6fb9d09..4b03197a18bebaa00bb809c6d57f11b51fc50acf 100644 (file)
@@ -948,7 +948,7 @@ static inline int check_ap(CPUState *env, int ap, int domain, int access_type,
   case 6:
       return prot_ro;
   case 7:
-      if (!arm_feature (env, ARM_FEATURE_V7))
+      if (!arm_feature (env, ARM_FEATURE_V6K))
           return 0;
       return prot_ro;
   default: