mirror of https://gitee.com/openkylin/qemu.git
hw/arm: Display CPU type in machine description
Most of ARM machines display their CPU when QEMU list the available machines (-M help). Some machines do not. Fix to unify the help output. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210131184449.382425-7-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
e022f2a205
commit
fd8f71b95d
|
@ -142,7 +142,7 @@ static void canon_a1100_init(MachineState *machine)
|
|||
|
||||
static void canon_a1100_machine_init(MachineClass *mc)
|
||||
{
|
||||
mc->desc = "Canon PowerShot A1100 IS";
|
||||
mc->desc = "Canon PowerShot A1100 IS (ARM946)";
|
||||
mc->init = &canon_a1100_init;
|
||||
mc->ignore_memory_transaction_failures = true;
|
||||
mc->default_ram_size = 64 * MiB;
|
||||
|
|
|
@ -64,7 +64,7 @@ static void microbit_machine_class_init(ObjectClass *oc, void *data)
|
|||
{
|
||||
MachineClass *mc = MACHINE_CLASS(oc);
|
||||
|
||||
mc->desc = "BBC micro:bit";
|
||||
mc->desc = "BBC micro:bit (Cortex-M0)";
|
||||
mc->init = microbit_init;
|
||||
mc->max_cpus = 1;
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ static void netduino2_init(MachineState *machine)
|
|||
|
||||
static void netduino2_machine_init(MachineClass *mc)
|
||||
{
|
||||
mc->desc = "Netduino 2 Machine";
|
||||
mc->desc = "Netduino 2 Machine (Cortex-M3)";
|
||||
mc->init = netduino2_init;
|
||||
mc->ignore_memory_transaction_failures = true;
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ static void netduinoplus2_init(MachineState *machine)
|
|||
|
||||
static void netduinoplus2_machine_init(MachineClass *mc)
|
||||
{
|
||||
mc->desc = "Netduino Plus 2 Machine";
|
||||
mc->desc = "Netduino Plus 2 Machine (Cortex-M4)";
|
||||
mc->init = netduinoplus2_init;
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ static void orangepi_init(MachineState *machine)
|
|||
|
||||
static void orangepi_machine_init(MachineClass *mc)
|
||||
{
|
||||
mc->desc = "Orange Pi PC";
|
||||
mc->desc = "Orange Pi PC (Cortex-A7)";
|
||||
mc->init = orangepi_init;
|
||||
mc->block_default_type = IF_SD;
|
||||
mc->units_per_default_bus = 1;
|
||||
|
|
|
@ -1538,7 +1538,7 @@ static void lm3s811evb_class_init(ObjectClass *oc, void *data)
|
|||
{
|
||||
MachineClass *mc = MACHINE_CLASS(oc);
|
||||
|
||||
mc->desc = "Stellaris LM3S811EVB";
|
||||
mc->desc = "Stellaris LM3S811EVB (Cortex-M3)";
|
||||
mc->init = lm3s811evb_init;
|
||||
mc->ignore_memory_transaction_failures = true;
|
||||
mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
|
||||
|
@ -1554,7 +1554,7 @@ static void lm3s6965evb_class_init(ObjectClass *oc, void *data)
|
|||
{
|
||||
MachineClass *mc = MACHINE_CLASS(oc);
|
||||
|
||||
mc->desc = "Stellaris LM3S6965EVB";
|
||||
mc->desc = "Stellaris LM3S6965EVB (Cortex-M3)";
|
||||
mc->init = lm3s6965evb_init;
|
||||
mc->ignore_memory_transaction_failures = true;
|
||||
mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
|
||||
|
|
Loading…
Reference in New Issue