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 /target-ppc/translate.c | |
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 'target-ppc/translate.c')
-rw-r--r-- | target-ppc/translate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 7e684495de..fd52f73cc6 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -3002,7 +3002,6 @@ CPUPPCState *cpu_ppc_init(void) #else env->nip = 0xFFFFFFFC; #endif - env->access_type = ACCESS_INT; cpu_single_env = env; return env; } @@ -3050,12 +3049,9 @@ int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, /* Single step trace mode */ msr_se = 1; #endif - env->access_type = ACCESS_CODE; /* Set env in case of segfault during code fetch */ while (ctx.exception == EXCP_NONE && gen_opc_ptr < gen_opc_end) { if (search_pc) { - if (loglevel > 0) - fprintf(logfile, "Search PC...\n"); j = gen_opc_ptr - gen_opc_buf; if (lj < j) { lj++; @@ -3187,8 +3183,6 @@ int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb, fprintf(logfile, "\n"); } #endif - env->access_type = ACCESS_INT; - return 0; } |