diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-12-07 22:32:49 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-12-13 19:58:54 +0100 |
commit | ac70f9767cba3a5966f7eefc102fcda8b3c7d09e (patch) | |
tree | a511e97d95af30981bfd6fd4c9201299af6132c8 /hw/mips/boston.c | |
parent | 1ab3a0de2f40f70bdfbd1a319a9734089bddcf72 (diff) | |
download | qemu-ac70f9767cba3a5966f7eefc102fcda8b3c7d09e.zip qemu-ac70f9767cba3a5966f7eefc102fcda8b3c7d09e.tar.gz qemu-ac70f9767cba3a5966f7eefc102fcda8b3c7d09e.tar.bz2 |
target/mips: Rename cpu_supports_FEAT() as cpu_type_supports_FEAT()
As cpu_supports_isa() / cpu_supports_cps_smp() take a 'cpu_type'
name argument, rename them cpu_type_supports_FEAT().
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201207215257.4004222-2-f4bug@amsat.org>
Diffstat (limited to 'hw/mips/boston.c')
-rw-r--r-- | hw/mips/boston.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mips/boston.c b/hw/mips/boston.c index 3d40867..16467ea 100644 --- a/hw/mips/boston.c +++ b/hw/mips/boston.c @@ -459,12 +459,12 @@ static void boston_mach_init(MachineState *machine) s = BOSTON(dev); s->mach = machine; - if (!cpu_supports_cps_smp(machine->cpu_type)) { + if (!cpu_type_supports_cps_smp(machine->cpu_type)) { error_report("Boston requires CPUs which support CPS"); exit(1); } - is_64b = cpu_supports_isa(machine->cpu_type, ISA_MIPS64); + is_64b = cpu_type_supports_isa(machine->cpu_type, ISA_MIPS64); object_initialize_child(OBJECT(machine), "cps", &s->cps, TYPE_MIPS_CPS); object_property_set_str(OBJECT(&s->cps), "cpu-type", machine->cpu_type, |