]> git.proxmox.com Git - qemu.git/blobdiff - target-arm/op_helper.c
cpu_loop_exit: avoid using AREG0
[qemu.git] / target-arm / op_helper.c
index 8334fbcf6d987515a52b22251631b21a61f3e730..46358844c59706438fcec8154b2f4a56c42b8454 100644 (file)
@@ -25,7 +25,7 @@
 void raise_exception(int tt)
 {
     env->exception_index = tt;
-    cpu_loop_exit();
+    cpu_loop_exit(env);
 }
 
 uint32_t HELPER(neon_tbl)(uint32_t ireg, uint32_t def,
@@ -234,13 +234,13 @@ void HELPER(wfi)(void)
 {
     env->exception_index = EXCP_HLT;
     env->halted = 1;
-    cpu_loop_exit();
+    cpu_loop_exit(env);
 }
 
 void HELPER(exception)(uint32_t excp)
 {
     env->exception_index = excp;
-    cpu_loop_exit();
+    cpu_loop_exit(env);
 }
 
 uint32_t HELPER(cpsr_read)(void)