diff options
author | Yubo Miao <miaoyubo@huawei.com> | 2020-11-19 09:48:36 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-12-08 13:48:57 -0500 |
commit | 37d5c0a8ff812682c50865cd314348611319d872 (patch) | |
tree | 7dd6b33dce6a5a1a766641bd9a9177d61effda87 /linux-user | |
parent | 09fad16744480938543c0e39cfbaecbbd162c39b (diff) |
acpi: Extract crs build form acpi_build.c
Extract crs build form acpi_build.c, the function could also be used
to build the crs for pxbs for arm. The resources are composed by two parts:
1. The bar space of pci-bridge/pcie-root-ports
2. The resources needed by devices behind PXBs.
The base and limit of memory/io are obtained from the config via two APIs:
pci_bridge_get_base and pci_bridge_get_limit
Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-5-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions