]> git.proxmox.com Git - mirror_qemu.git/blobdiff - translate-all.c
EBase is limited to KSEG0/KSEG1 even on 64bit CPUs.
[mirror_qemu.git] / translate-all.c
index e4f7c9c19eddfa2a84bc1c7022421b1fb1c1e6de..43365478bdef14fb3ff5d22b89e26fb54512f07f 100644 (file)
@@ -53,6 +53,8 @@ uint8_t gen_opc_cc_op[OPC_BUF_SIZE];
 #elif defined(TARGET_SPARC)
 target_ulong gen_opc_npc[OPC_BUF_SIZE];
 target_ulong gen_opc_jump_pc[2];
+#elif defined(TARGET_MIPS)
+uint32_t gen_opc_hflags[OPC_BUF_SIZE];
 #endif
 
 int code_copy_enabled = 1;
@@ -300,6 +302,12 @@ int cpu_restore_state(TranslationBlock *tb,
         }
         env->access_type = type;
     }
+#elif defined(TARGET_M68K)
+    env->pc = gen_opc_pc[j];
+#elif defined(TARGET_MIPS)
+    env->PC = gen_opc_pc[j];
+    env->hflags &= ~MIPS_HFLAG_BMASK;
+    env->hflags |= gen_opc_hflags[j];
 #endif
     return 0;
 }