aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-09-09 14:36:26 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-09-09 14:36:26 +0000
commit78600320a8571f4b065a7ea9331e1290d319acbb (patch)
tree4ed90031a767097da328c5360122ee03df3c0ff6 /target-arm
parent35db099ddb95c9761f665782b2f2cbe73f44e336 (diff)
Arm MMU fix (Justin Fletcher).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2154 c046a42c-6fe2-441c-8c8c-71466251a162
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 2ed46a29bb..04d3b5254d 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -239,7 +239,7 @@ static inline int check_ap(CPUState *env, int ap, int domain, int access_type,
switch (ap) {
case 0:
- if (access_type != 1)
+ if (access_type == 1)
return 0;
switch ((env->cp15.c1_sys >> 8) & 3) {
case 1: