acpi/gpex: Extract two APIs from acpi_dsdt_add_pci
commita0e2905b4106296eba396630d37bd3f146e721e1
authorYubo Miao <miaoyubo@huawei.com>
Thu, 19 Nov 2020 01:48:33 +0000 (19 09:48 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:57 +0000 (8 13:48 -0500)
treecb968d1a4dc5acefa4dafd5ade226dfc4a228930
parent4aedda25e883c7c2e7cae911e39b84ad96ef4766
acpi/gpex: Extract two APIs from acpi_dsdt_add_pci

Extract two APIs acpi_dsdt_add_pci_route_table and
acpi_dsdt_add_pci_osc from acpi_dsdt_add_pci. The first
API is used to specify the pci route table and the second
API is used to declare the operation system capabilities.
These two APIs would be used to specify the pxb-pcie in DSDT.

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-2-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-host/gpex-acpi.c