aboutsummaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-09-01 17:21:47 +0200
committerAndreas Färber <afaerber@suse.de>2014-03-13 19:20:48 +0100
commit90b40a696a6bcfac88529930d4d1e1599878dae3 (patch)
tree352abda10fe95a2d209cfd1b18de7d6850c7adc1 /translate-all.c
parent239c51a54fe2a1ffc5108f496caae79e5be0cabc (diff)
downloadqemu-90b40a696a6bcfac88529930d4d1e1599878dae3.zip
qemu-90b40a696a6bcfac88529930d4d1e1599878dae3.tar.gz
qemu-90b40a696a6bcfac88529930d4d1e1599878dae3.tar.bz2
translate-all: Change cpu_io_recompile() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/translate-all.c b/translate-all.c
index 82d5fa4..83c7907 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -1419,9 +1419,9 @@ CPUInterruptHandler cpu_interrupt_handler = tcg_handle_interrupt;
/* in deterministic execution mode, instructions doing device I/Os
must be at the end of the TB */
-void cpu_io_recompile(CPUArchState *env, uintptr_t retaddr)
+void cpu_io_recompile(CPUState *cpu, uintptr_t retaddr)
{
- CPUState *cpu = ENV_GET_CPU(env);
+ CPUArchState *env = cpu->env_ptr;
TranslationBlock *tb;
uint32_t n, cflags;
target_ulong pc, cs_base;