aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xtensa_sim.c')
-rw-r--r--hw/xtensa_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index 104e5dc..445cfde 100644
--- a/hw/xtensa_sim.c
+++ b/hw/xtensa_sim.c
@@ -39,7 +39,7 @@ static uint64_t translate_phys_addr(void *env, uint64_t addr)
static void sim_reset(void *env)
{
- cpu_reset(env);
+ cpu_state_reset(env);
}
static void sim_init(ram_addr_t ram_size,