aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-08 18:11:33 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-08 18:11:33 +0000
commitb4cec7b455daa6bdc51df8db6bce8d252647440f (patch)
tree0e716e0a825ebd3b8d37b1791c5889cb32c64916 /target-ppc
parent76db3ba44ee8db671f804755f13b016eefd13288 (diff)
target-ppc: enable access type in MMU
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5950 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/helper.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 6bffa0638f..e22f6dd180 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -1510,10 +1510,7 @@ int cpu_ppc_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
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) {