diff options
author | Xiaojuan Yang | 2022-08-10 09:50:35 +0200 |
---|---|---|
committer | Song Gao | 2022-09-20 09:44:24 +0200 |
commit | a1f7d78e564a453ea07159efaa1af9a7210ddeda (patch) | |
tree | 11b3aa3734e23139cedd88fcde182a115040f5b9 /include/hw/loongarch/virt.h | |
parent | hw/loongarch: Add interrupt information to FDT table (diff) | |
download | qemu-a1f7d78e564a453ea07159efaa1af9a7210ddeda.tar.gz qemu-a1f7d78e564a453ea07159efaa1af9a7210ddeda.tar.xz qemu-a1f7d78e564a453ea07159efaa1af9a7210ddeda.zip |
hw/loongarch: Add platform bus support
Add platform bus support and add the bus information such as address,
size, irq number to FDT table.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Acked-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20220908094623.73051-5-yangxiaojuan@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'include/hw/loongarch/virt.h')
-rw-r--r-- | include/hw/loongarch/virt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h index 92b84de1c5..64c90b80d2 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -49,6 +49,7 @@ struct LoongArchMachineState { char *oem_table_id; DeviceState *acpi_ged; int fdt_size; + DeviceState *platform_bus_dev; }; #define TYPE_LOONGARCH_MACHINE MACHINE_TYPE_NAME("virt") |