diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sun4m.c | 2 | ||||
-rw-r--r-- | hw/sun4u.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c index 1d9f76605e..a12aec9e8a 100644 --- a/hw/sun4m.c +++ b/hw/sun4m.c @@ -327,7 +327,7 @@ static void *sun4m_hw_init(const struct hwdef *hwdef, int RAM_size, for(i = 0; i < smp_cpus; i++) { env = cpu_init(); - cpu_sparc_register(env, def); + cpu_sparc_register(env, def, i); envs[i] = env; if (i == 0) { qemu_register_reset(main_cpu_reset, env); diff --git a/hw/sun4u.c b/hw/sun4u.c index 3b08340536..bac0ebf46d 100644 --- a/hw/sun4u.c +++ b/hw/sun4u.c @@ -358,7 +358,7 @@ static void sun4u_init(int ram_size, int vga_ram_size, int boot_device, exit(1); } env = cpu_init(); - cpu_sparc_register(env, def); + cpu_sparc_register(env, def, 0); bh = qemu_bh_new(tick_irq, env); env->tick = ptimer_init(bh); ptimer_set_period(env->tick, 1ULL); |