]> git.proxmox.com Git - qemu.git/blobdiff - target-microblaze/op_helper.c
cpu_loop_exit: avoid using AREG0
[qemu.git] / target-microblaze / op_helper.c
index c7b2f97d96f1054a159e204a5747fc8c5f5529b5..1a0a476a62566586b08321033e519f40522b8552 100644 (file)
@@ -63,7 +63,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
                 cpu_restore_state(tb, env, pc);
             }
         }
-        cpu_loop_exit();
+        cpu_loop_exit(env);
     }
     env = saved_env;
 }
@@ -107,7 +107,7 @@ uint32_t helper_get(uint32_t id, uint32_t ctrl)
 void helper_raise_exception(uint32_t index)
 {
     env->exception_index = index;
-    cpu_loop_exit();
+    cpu_loop_exit(env);
 }
 
 void helper_debug(void)