Skip to contentSkip to conversation

[5950] target-ppc: enable access type in MMU

Qemu-devel Aurelien Jarno 1 participant 1 message Dec 8, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5950

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5950
Author:   aurel32
Date:     2008-12-08 18:11:33 +0000 (Mon, 08 Dec 2008)

Log Message:
-----------
target-ppc: enable access type in MMU

Modified Paths:
--------------
trunk/target-ppc/helper.c

Modified: trunk/target-ppc/helper.c
===================================================================

target-ppc/helper.c +1 -4
@@ -1510,10 +1510,7 @@
         access_type = ACCESS_CODE;
     } else {
         /* data access */
-        /* XXX: put correct access by using cpu_restore_state()
-           correctly */
-        access_type = ACCESS_INT;
-        //        access_type = env->access_type;
+        access_type = env->access_type;
     }
     ret = get_physical_address(env, &ctx, address, rw, access_type);
     if (ret == 0) {