Message ID | 1391183143-30724-5-git-send-email-peter.maydell@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/target-arm/helper.c b/target-arm/helper.c index d670db8..6f1ec46 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2765,6 +2765,9 @@ static inline int check_ap(CPUARMState *env, int ap, int domain_prot, switch (ap) { case 0: + if (arm_feature(env, ARM_FEATURE_V7)) { + return 0; + } if (access_type == 1) return 0; switch (env->cp15.c1_sys & (SCTLR_S | SCTLR_R)) {