diff options
author | Xiaojuan Yang | 2022-07-29 09:30:18 +0200 |
---|---|---|
committer | Richard Henderson | 2022-07-30 00:07:55 +0200 |
commit | 74725231d6fd1605d8b60c5afc2c0aec2f0b1e67 (patch) | |
tree | d1d61e002dc917bdc59f8f48b230dc711228b002 /include/hw/loongarch/virt.h | |
parent | hw/loongarch: Rename file 'loongson3.XXX' to 'virt.XXX' (diff) | |
download | qemu-74725231d6fd1605d8b60c5afc2c0aec2f0b1e67.tar.gz qemu-74725231d6fd1605d8b60c5afc2c0aec2f0b1e67.tar.xz qemu-74725231d6fd1605d8b60c5afc2c0aec2f0b1e67.zip |
hw/loongarch: Change macro name 'LS7A_XXX' to 'VIRT_XXX'
Change macro name 'LS7A_XXX' to 'VIRT_XXX', as the loongarch
virt machinue use the GPEX bridge instead of LS7A bridge. So
the macro name should keep consistency.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Message-Id: <20220729073018.27037-3-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/hw/loongarch/virt.h')
-rw-r--r-- | include/hw/loongarch/virt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index f4f24df428..92b84de1c5 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -15,8 +15,8 @@ #define LOONGARCH_MAX_VCPUS 4 -#define LOONGARCH_ISA_IO_BASE 0x18000000UL -#define LOONGARCH_ISA_IO_SIZE 0x0004000 +#define VIRT_ISA_IO_BASE 0x18000000UL +#define VIRT_ISA_IO_SIZE 0x0004000 #define VIRT_FWCFG_BASE 0x1e020000UL #define VIRT_BIOS_BASE 0x1c000000UL #define VIRT_BIOS_SIZE (4 * MiB) @@ -28,8 +28,8 @@ #define VIRT_GED_MEM_ADDR (VIRT_GED_EVT_ADDR + ACPI_GED_EVT_SEL_LEN) #define VIRT_GED_REG_ADDR (VIRT_GED_MEM_ADDR + MEMORY_HOTPLUG_IO_LEN) -#define LA_FDT_BASE 0x1c400000 -#define LA_FDT_SIZE 0x100000 +#define VIRT_FDT_BASE 0x1c400000 +#define VIRT_FDT_SIZE 0x100000 struct LoongArchMachineState { /*< private >*/ |