aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4m.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-29 18:34:23 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-29 18:34:23 +0000
commitcebb73aa5ffb6a4e28527e4d005f74072437317e (patch)
tree739548a12732ed55374530d1b2fef3210b9658d2 /hw/sun4m.c
parentcf3102acc07a060a1eaf3019ddcdddc00eab2fb1 (diff)
Fix SS-2 boot mode
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3874 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4m.c')
-rw-r--r--hw/sun4m.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c
index 513dc23271..67ebdfd621 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -561,6 +561,7 @@ static void sun4c_hw_init(const struct hwdef *hwdef, int RAM_size,
qemu_register_reset(main_cpu_reset, env);
register_savevm("cpu", 0, 3, cpu_save, cpu_load, env);
cpu_irqs = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS);
+ env->prom_addr = hwdef->slavio_base;
/* allocate RAM */
if ((uint64_t)RAM_size > hwdef->max_mem) {