mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Allow NWINDOWS selection (CPU feature with model specific defaults)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4690 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
96d1912622
commit
1a14026e11
9 changed files with 144 additions and 67 deletions
|
@ -404,7 +404,7 @@ static void sun4m_hw_init(const struct hwdef *hwdef, ram_addr_t RAM_size,
|
|||
qemu_register_reset(secondary_cpu_reset, env);
|
||||
env->halted = 1;
|
||||
}
|
||||
register_savevm("cpu", i, 3, cpu_save, cpu_load, env);
|
||||
register_savevm("cpu", i, 4, cpu_save, cpu_load, env);
|
||||
cpu_irqs[i] = qemu_allocate_irqs(cpu_set_irq, envs[i], MAX_PILS);
|
||||
env->prom_addr = hwdef->slavio_base;
|
||||
}
|
||||
|
@ -579,7 +579,7 @@ static void sun4c_hw_init(const struct hwdef *hwdef, ram_addr_t RAM_size,
|
|||
cpu_sparc_set_id(env, 0);
|
||||
|
||||
qemu_register_reset(main_cpu_reset, env);
|
||||
register_savevm("cpu", 0, 3, cpu_save, cpu_load, env);
|
||||
register_savevm("cpu", 0, 4, cpu_save, cpu_load, env);
|
||||
cpu_irqs = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS);
|
||||
env->prom_addr = hwdef->slavio_base;
|
||||
|
||||
|
@ -1391,7 +1391,7 @@ static void sun4d_hw_init(const struct sun4d_hwdef *hwdef, ram_addr_t RAM_size,
|
|||
qemu_register_reset(secondary_cpu_reset, env);
|
||||
env->halted = 1;
|
||||
}
|
||||
register_savevm("cpu", i, 3, cpu_save, cpu_load, env);
|
||||
register_savevm("cpu", i, 4, cpu_save, cpu_load, env);
|
||||
cpu_irqs[i] = qemu_allocate_irqs(cpu_set_irq, envs[i], MAX_PILS);
|
||||
env->prom_addr = hwdef->slavio_base;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue