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 --- exec-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exec-all.h') diff --git a/exec-all.h b/exec-all.h index 2a13a95..efef1cd 100644 --- a/exec-all.h +++ b/exec-all.h @@ -95,7 +95,7 @@ TranslationBlock *tb_gen_code(CPUState *env, target_ulong pc, target_ulong cs_base, int flags, int cflags); void cpu_exec_init(CPUState *env); -void QEMU_NORETURN cpu_loop_exit(void); +void QEMU_NORETURN cpu_loop_exit(CPUState *env1); int page_unprotect(target_ulong address, unsigned long pc, void *puc); void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end, int is_cpu_write_access); -- cgit v1.1