diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 16:29:21 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 16:29:21 +0000 |
commit | 952a328ff50c323b28fb07658ccbc6604cf26a45 (patch) | |
tree | 569c7fec0915bd4e088cf3f9efd837bc75a0bcbd /hw | |
parent | 992f48a036cccf7101e31bf3e5d901ce5320e886 (diff) | |
download | hqemu-952a328ff50c323b28fb07658ccbc6604cf26a45.zip hqemu-952a328ff50c323b28fb07658ccbc6604cf26a45.tar.gz |
SuperSparc MXCC support (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3397 c046a42c-6fe2-441c-8c8c-71466251a162
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
@@ -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); @@ -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); |