aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-05-08 11:11:06 +0800
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-05-09 00:07:21 +0200
commitdf0d93c1e20db0c2b683a823a8e95208f5dc09ff (patch)
tree1efa69587ffcbf0203c266ba0fef03b86f06e189 /include
parent54c52ec719fb8c83bbde54cb87b58688ab27c166 (diff)
downloadqemu-df0d93c1e20db0c2b683a823a8e95208f5dc09ff.zip
qemu-df0d93c1e20db0c2b683a823a8e95208f5dc09ff.tar.gz
qemu-df0d93c1e20db0c2b683a823a8e95208f5dc09ff.tar.bz2
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')
-rw-r--r--include/hw/loongarch/virt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h
index fdbd2b1..5b1416d 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