mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue