diff options
| author | Yubo Miao <miaoyubo@huawei.com> | 2020-11-19 09:48:37 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2020-12-08 13:48:57 -0500 |
| commit | 6f9765fbad3d86de008f2e0f6821c29155eb0d85 (patch) | |
| tree | ea110efe9ff1522a23bf4efb4ff7694ea754756a /include/hw/pci-host/gpex.h | |
| parent | 37d5c0a8ff812682c50865cd314348611319d872 (diff) | |
| download | focaccia-qemu-6f9765fbad3d86de008f2e0f6821c29155eb0d85.tar.gz focaccia-qemu-6f9765fbad3d86de008f2e0f6821c29155eb0d85.zip | |
acpi/gpex: Build tables for pxb
The resources of pxbs are obtained by crs_build and the resources used by pxbs would be moved from the resources defined for host-bridge. The resources for pxb are composed of following two parts: 1. The bar space of the pci-bridge/pcie-root-port behined it 2. The config space of devices behind it. Signed-off-by: Yubo Miao <miaoyubo@huawei.com> Signed-off-by: Jiahui Cen <cenjiahui@huawei.com> Message-Id: <20201119014841.7298-6-cenjiahui@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/pci-host/gpex.h')
| -rw-r--r-- | include/hw/pci-host/gpex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci-host/gpex.h b/include/hw/pci-host/gpex.h index d52ea80d4e..d48a020a95 100644 --- a/include/hw/pci-host/gpex.h +++ b/include/hw/pci-host/gpex.h @@ -59,6 +59,7 @@ struct GPEXConfig { MemMapEntry mmio64; MemMapEntry pio; int irq; + PCIBus *bus; }; int gpex_set_irq_num(GPEXHost *s, int index, int gsi); |