Commit 78600320a8571f4b065a7ea9331e1290d319acbb

Authored by pbrook
1 parent 35db099d

Arm MMU fix (Justin Fletcher).


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2154 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
target-arm/helper.c
... ... @@ -239,7 +239,7 @@ static inline int check_ap(CPUState *env, int ap, int domain, int access_type,
239 239  
240 240 switch (ap) {
241 241 case 0:
242   - if (access_type != 1)
  242 + if (access_type == 1)
243 243 return 0;
244 244 switch ((env->cp15.c1_sys >> 8) & 3) {
245 245 case 1:
... ...