From 1162c041c11a49b8ba50bf5f73a72352421787a8 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 14 May 2011 12:52:35 +0000 Subject: 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 --- target-unicore32/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-unicore32') diff --git a/target-unicore32/op_helper.c b/target-unicore32/op_helper.c index 31e4b11e4..541e6f099 100644 --- a/target-unicore32/op_helper.c +++ b/target-unicore32/op_helper.c @@ -16,7 +16,7 @@ void HELPER(exception)(uint32_t excp) { env->exception_index = excp; - cpu_loop_exit(); + cpu_loop_exit(env); } static target_ulong asr_read(void) -- cgit v1.2.3