]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-ppc/translate.c
removed access_type hack
[mirror_qemu.git] / target-ppc / translate.c
index 7e684495de38a797ec761d53d321ea812c540c2b..fd52f73cc602549e146f86a4eabb1c6d0da840be 100644 (file)
@@ -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;
 }