Commit cebb73aa5ffb6a4e28527e4d005f74072437317e

Authored by blueswir1
1 parent cf3102ac

Fix SS-2 boot mode


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3874 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
hw/sun4m.c
@@ -561,6 +561,7 @@ static void sun4c_hw_init(const struct hwdef *hwdef, int RAM_size, @@ -561,6 +561,7 @@ static void sun4c_hw_init(const struct hwdef *hwdef, int RAM_size,
561 qemu_register_reset(main_cpu_reset, env); 561 qemu_register_reset(main_cpu_reset, env);
562 register_savevm("cpu", 0, 3, cpu_save, cpu_load, env); 562 register_savevm("cpu", 0, 3, cpu_save, cpu_load, env);
563 cpu_irqs = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS); 563 cpu_irqs = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS);
  564 + env->prom_addr = hwdef->slavio_base;
564 565
565 /* allocate RAM */ 566 /* allocate RAM */
566 if ((uint64_t)RAM_size > hwdef->max_mem) { 567 if ((uint64_t)RAM_size > hwdef->max_mem) {