diff options
author | Blue Swirl | 2011-05-14 14:52:35 +0200 |
---|---|---|
committer | Blue Swirl | 2011-06-26 20:25:13 +0200 |
commit | 1162c041c11a49b8ba50bf5f73a72352421787a8 (patch) | |
tree | e4511db4385cbded0166d064bd292082a9d8f438 /target-cris | |
parent | Sparc32: dummy implementation of MXCC MMU breakpoint registers (diff) | |
download | qemu-1162c041c11a49b8ba50bf5f73a72352421787a8.tar.gz qemu-1162c041c11a49b8ba50bf5f73a72352421787a8.tar.xz qemu-1162c041c11a49b8ba50bf5f73a72352421787a8.zip |
cpu_loop_exit: avoid using AREG0
Make cpu_loop_exit() take a parameter for CPUState instead of relying
on global env.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-cris')
-rw-r--r-- | target-cris/op_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c index 34329e2a60..b3ddd33e02 100644 --- a/target-cris/op_helper.c +++ b/target-cris/op_helper.c @@ -83,7 +83,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) helper_top_evaluate_flags(); } } - cpu_loop_exit(); + cpu_loop_exit(env); } env = saved_env; } @@ -93,7 +93,7 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) void helper_raise_exception(uint32_t index) { env->exception_index = index; - cpu_loop_exit(); + cpu_loop_exit(env); } void helper_tlb_flush_pid(uint32_t pid) |