aboutsummaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-03 15:07:13 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-03 15:07:13 +0000
commitb769d8fef6c06ddb39ef0337882a4f8872b9c2bc (patch)
treef66f789f12d413c07036e7a0dd5f63e425743d65 /exec-all.h
parent32ff25bf68e687a6c15bfef2d855faccb2740472 (diff)
downloadqemu-b769d8fef6c06ddb39ef0337882a4f8872b9c2bc.zip
qemu-b769d8fef6c06ddb39ef0337882a4f8872b9c2bc.tar.gz
qemu-b769d8fef6c06ddb39ef0337882a4f8872b9c2bc.tar.bz2
removed access_type hack
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1095 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/exec-all.h b/exec-all.h
index 2e886e0..8a47f1b 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -592,13 +592,7 @@ static inline target_ulong get_phys_addr_code(CPUState *env, target_ulong addr)
#endif
if (__builtin_expect(env->tlb_read[is_user][index].address !=
(addr & TARGET_PAGE_MASK), 0)) {
-#if defined (TARGET_PPC)
- env->access_type = ACCESS_CODE;
- ldub_code((void *)addr);
- env->access_type = ACCESS_INT;
-#else
ldub_code((void *)addr);
-#endif
}
return addr + env->tlb_read[is_user][index].addend - (unsigned long)phys_ram_base;
}