mirror of https://gitee.com/openkylin/qemu.git
Fix SS-2 boot mode
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3874 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
cf3102acc0
commit
cebb73aa5f
|
@ -561,6 +561,7 @@ static void sun4c_hw_init(const struct hwdef *hwdef, int RAM_size,
|
||||||
qemu_register_reset(main_cpu_reset, env);
|
qemu_register_reset(main_cpu_reset, env);
|
||||||
register_savevm("cpu", 0, 3, cpu_save, cpu_load, env);
|
register_savevm("cpu", 0, 3, cpu_save, cpu_load, env);
|
||||||
cpu_irqs = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS);
|
cpu_irqs = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS);
|
||||||
|
env->prom_addr = hwdef->slavio_base;
|
||||||
|
|
||||||
/* allocate RAM */
|
/* allocate RAM */
|
||||||
if ((uint64_t)RAM_size > hwdef->max_mem) {
|
if ((uint64_t)RAM_size > hwdef->max_mem) {
|
||||||
|
|
Loading…
Reference in New Issue