diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-10-03 15:07:13 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-10-03 15:07:13 +0000 |
commit | b769d8fef6c06ddb39ef0337882a4f8872b9c2bc (patch) | |
tree | f66f789f12d413c07036e7a0dd5f63e425743d65 /exec-all.h | |
parent | 32ff25bf68e687a6c15bfef2d855faccb2740472 (diff) |
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.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/exec-all.h b/exec-all.h index 2e886e07c8..8a47f1bb15 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; } |