summaryrefslogtreecommitdiff
path: root/hw/microblaze_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/microblaze_boot.c')
-rw-r--r--hw/microblaze_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/microblaze_boot.c b/hw/microblaze_boot.c
index b2f96df344..7ce04dcd63 100644
--- a/hw/microblaze_boot.c
+++ b/hw/microblaze_boot.c
@@ -45,7 +45,7 @@ static void main_cpu_reset(void *opaque)
{
CPUState *env = opaque;
- cpu_reset(env);
+ cpu_state_reset(env);
env->regs[5] = boot_info.cmdline;
env->regs[7] = boot_info.fdt;
env->sregs[SR_PC] = boot_info.bootstrap_pc;