diff options
author | Xiaojuan Yang <yangxiaojuan@loongson.cn> | 2022-08-25 11:57:33 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2022-09-20 15:44:25 +0800 |
commit | 1895b967922890f76ad0ba8eefad6019e0328606 (patch) | |
tree | 8c27e98bb4d13c1ec55f10af7fb1307906298751 /include | |
parent | c3da26f314ad918ad36ca1373ea7c7f1aa036a87 (diff) | |
download | qemu-1895b967922890f76ad0ba8eefad6019e0328606.zip qemu-1895b967922890f76ad0ba8eefad6019e0328606.tar.gz qemu-1895b967922890f76ad0ba8eefad6019e0328606.tar.bz2 |
hw/loongarch: Improve acpi dsdt table
Cleanup the previous pci information in acpi dsdt table.
And using the common acpi_dsdt_add_gpex function to build
the gpex and pci information.
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Acked-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20220908094623.73051-10-yangxiaojuan@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'include')
-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 64c90b8..09f1c88 100644 --- a/include/hw/loongarch/virt.h +++ b/include/hw/loongarch/virt.h @@ -50,6 +50,7 @@ struct LoongArchMachineState { DeviceState *acpi_ged; int fdt_size; DeviceState *platform_bus_dev; + PCIBus *pci_bus; }; #define TYPE_LOONGARCH_MACHINE MACHINE_TYPE_NAME("virt") |