diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2024-05-08 11:11:06 +0800 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-05-09 00:07:21 +0200 |
| commit | df0d93c1e20db0c2b683a823a8e95208f5dc09ff (patch) | |
| tree | 1efa69587ffcbf0203c266ba0fef03b86f06e189 /include/hw/loongarch/virt.h | |
| parent | 54c52ec719fb8c83bbde54cb87b58688ab27c166 (diff) | |
| download | focaccia-qemu-df0d93c1e20db0c2b683a823a8e95208f5dc09ff.tar.gz focaccia-qemu-df0d93c1e20db0c2b683a823a8e95208f5dc09ff.zip | |
hw/loongarch: Rename LOONGARCH_MACHINE with LOONGARCH_VIRT_MACHINE
On LoongArch system, there is only virt machine type now, name LOONGARCH_MACHINE is confused, rename it with LOONGARCH_VIRT_MACHINE. Machine name about Other real hw boards can be added in future. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240508031110.2507477-2-maobibo@loongson.cn> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/hw/loongarch/virt.h')
| -rw-r--r-- | include/hw/loongarch/virt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index fdbd2b146f..5b1416d7bc 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -63,8 +63,8 @@ struct LoongArchMachineState { struct loongarch_boot_info bootinfo; }; -#define TYPE_LOONGARCH_MACHINE MACHINE_TYPE_NAME("virt") -OBJECT_DECLARE_SIMPLE_TYPE(LoongArchMachineState, LOONGARCH_MACHINE) +#define TYPE_LOONGARCH_VIRT_MACHINE MACHINE_TYPE_NAME("virt") +OBJECT_DECLARE_SIMPLE_TYPE(LoongArchMachineState, LOONGARCH_VIRT_MACHINE) bool loongarch_is_acpi_enabled(LoongArchMachineState *lams); void loongarch_acpi_setup(LoongArchMachineState *lams); #endif |