summaryrefslogtreecommitdiff
path: root/xen/include
diff options
context:
space:
mode:
authorRahul Singh <rahul.singh@arm.com>2021-10-06 18:40:32 +0100
committerStefano Stabellini <stefano.stabellini@xilinx.com>2021-10-07 12:47:25 -0700
commita095542b6843dd87bb62585fb92f2318d83cff09 (patch)
tree01f46381f59d62f94167aa4364e8084486c07567 /xen/include
parent1da6a07be751cd316b39d319c19e3862392ca6ef (diff)
xen/arm: Implement pci access functions
Implement generic pci access functions to read/write the configuration space. Signed-off-by: Rahul Singh <rahul.singh@arm.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'xen/include')
-rw-r--r--xen/include/asm-arm/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-arm/pci.h b/xen/include/asm-arm/pci.h
index e57b74f4d8..f5a5f15e3b 100644
--- a/xen/include/asm-arm/pci.h
+++ b/xen/include/asm-arm/pci.h
@@ -81,6 +81,7 @@ int pci_generic_config_write(struct pci_host_bridge *bridge, pci_sbdf_t sbdf,
uint32_t reg, uint32_t len, uint32_t value);
void __iomem *pci_ecam_map_bus(struct pci_host_bridge *bridge,
pci_sbdf_t sbdf, uint32_t where);
+struct pci_host_bridge *pci_find_host_bridge(uint16_t segment, uint8_t bus);
static always_inline bool is_pci_passthrough_enabled(void)
{