|
@@ -1205,7 +1205,7 @@ static void create_cps(MachineState *ms, MaltaState *s,
|
|
static void mips_create_cpu(MachineState *ms, MaltaState *s,
|
|
static void mips_create_cpu(MachineState *ms, MaltaState *s,
|
|
qemu_irq *cbus_irq, qemu_irq *i8259_irq)
|
|
qemu_irq *cbus_irq, qemu_irq *i8259_irq)
|
|
{
|
|
{
|
|
- if ((ms->smp.cpus > 1) && cpu_supports_cps_smp(ms->cpu_type)) {
|
|
|
|
|
|
+ if ((ms->smp.cpus > 1) && cpu_type_supports_cps_smp(ms->cpu_type)) {
|
|
create_cps(ms, s, cbus_irq, i8259_irq);
|
|
create_cps(ms, s, cbus_irq, i8259_irq);
|
|
} else {
|
|
} else {
|
|
create_cpu_without_cps(ms, s, cbus_irq, i8259_irq);
|
|
create_cpu_without_cps(ms, s, cbus_irq, i8259_irq);
|
|
@@ -1309,7 +1309,7 @@ void mips_malta_init(MachineState *machine)
|
|
loaderparams.initrd_filename = initrd_filename;
|
|
loaderparams.initrd_filename = initrd_filename;
|
|
kernel_entry = load_kernel();
|
|
kernel_entry = load_kernel();
|
|
|
|
|
|
- if (!cpu_supports_isa(machine->cpu_type, ISA_NANOMIPS32)) {
|
|
|
|
|
|
+ if (!cpu_type_supports_isa(machine->cpu_type, ISA_NANOMIPS32)) {
|
|
write_bootloader(memory_region_get_ram_ptr(bios),
|
|
write_bootloader(memory_region_get_ram_ptr(bios),
|
|
bootloader_run_addr, kernel_entry);
|
|
bootloader_run_addr, kernel_entry);
|
|
} else {
|
|
} else {
|