]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/loongarch: Rename LoongArchMachineState with LoongArchVirtMachineState
authorBibo Mao <maobibo@loongson.cn>
Wed, 8 May 2024 03:11:07 +0000 (11:11 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 8 May 2024 22:07:21 +0000 (00:07 +0200)
commitd804ad98f51cc6ae795ff9c9890db66bae513214
tree55198e85d5d38c3b084b7b00d88ffaec0ccfca56
parentdf0d93c1e20db0c2b683a823a8e95208f5dc09ff
hw/loongarch: Rename LoongArchMachineState with LoongArchVirtMachineState

Rename LoongArchMachineState with LoongArchVirtMachineState, and change
variable name LoongArchMachineState *lams with LoongArchVirtMachineState
*lvms.

Rename function specific for virtmachine loongarch_xxx()
with virt_xxx(). However some common functions keep unchanged such as
loongarch_acpi_setup()/loongarch_load_kernel(), since there functions
can be used for real hw boards.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240508031110.2507477-3-maobibo@loongson.cn>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/loongarch/acpi-build.c
hw/loongarch/boot.c
hw/loongarch/fw_cfg.c
hw/loongarch/fw_cfg.h
hw/loongarch/virt.c
include/hw/loongarch/virt.h