From: pbrook Date: Sat, 9 Sep 2006 14:36:26 +0000 (+0000) Subject: Arm MMU fix (Justin Fletcher). X-Git-Tag: release_0_9_1~1741 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9922f2575aca0bab2dd8156029b8bd95fe4d3e15;p=qemu-xen-4.5-testing.git Arm MMU fix (Justin Fletcher). --- diff --git a/target-arm/helper.c b/target-arm/helper.c index 2ed46a29b..04d3b5254 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: