diff options
| author | Xiaojuan Yang | 2022-08-25 05:57:33 +0200 |
|---|---|---|
| committer | Song Gao | 2022-09-20 09:44:25 +0200 |
| commit | 1895b967922890f76ad0ba8eefad6019e0328606 (patch) | |
| tree | 8c27e98bb4d13c1ec55f10af7fb1307906298751 /include | |
| parent | hw/loongarch: Support memory hotplug (diff) | |
| download | qemu-1895b967922890f76ad0ba8eefad6019e0328606.tar.gz qemu-1895b967922890f76ad0ba8eefad6019e0328606.tar.xz qemu-1895b967922890f76ad0ba8eefad6019e0328606.zip | |
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 64c90b80d2..09f1c88ee5 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") |
