diff options
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/cpu.c | 2 | ||||
-rw-r--r-- | target-mips/cpu.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/cpu.c b/target-mips/cpu.c index 958c999f0a..4027d0f417 100644 --- a/target-mips/cpu.c +++ b/target-mips/cpu.c @@ -115,7 +115,7 @@ static void mips_cpu_initfn(Object *obj) CPUMIPSState *env = &cpu->env; cs->env_ptr = env; - cpu_exec_init(env); + cpu_exec_init(cs, &error_abort); if (tcg_enabled()) { mips_tcg_init(); diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 474a0e327d..075c561c81 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -746,7 +746,7 @@ enum { */ #define CPU_INTERRUPT_WAKE CPU_INTERRUPT_TGT_INT_0 -int cpu_mips_exec(CPUMIPSState *s); +int cpu_mips_exec(CPUState *cpu); void mips_tcg_init(void); MIPSCPU *cpu_mips_init(const char *cpu_model); int cpu_mips_signal_handler(int host_signum, void *pinfo, void *puc); |