On 8/5/24 05:11, Bibo Mao wrote:
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 <maob...@loongson.cn>
---
hw/loongarch/acpi-build.c | 89 +++++-----
hw/loongarch/boot.c | 10 +-
hw/loongarch/fw_cfg.c | 2 +-
hw/loongarch/fw_cfg.h | 2 +-
hw/loongarch/virt.c | 340 ++++++++++++++++++------------------
include/hw/loongarch/virt.h | 7 +-
6 files changed, 226 insertions(+), 224 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>