mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
c3da26f314
commit
1895b96792
3 changed files with 21 additions and 140 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue