aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-06-23 01:12:59 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-07-26 14:22:31 +0000
commit0ab06d8347bd825090e220167da017d67112e846 (patch)
tree3b91d102e74ffc46bbf9a124561e2b479033d554 /target-arm
parentc886edfb851c0c590d4e77f058f2ec8ed95ad1b5 (diff)
target-arm: make VMSAv7 remapping and AP dependent on V6K
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>
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index ae4f334e40..4b03197a18 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -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: