aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/pci_io.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-09-14 14:29:52 +0100
committerMichael Brown <mcb30@ipxe.org>2022-09-16 01:05:47 +0100
commitbe667ba94822877036f6c80992554ed32314a1f2 (patch)
treee4c5dcd30a4de0d9b58c58357aa184cb397e7dd7 /src/include/ipxe/pci_io.h
parentff228f745c15594291fd3cbf3c02af27753a3885 (diff)
downloadipxe-be667ba94822877036f6c80992554ed32314a1f2.zip
ipxe-be667ba94822877036f6c80992554ed32314a1f2.tar.gz
ipxe-be667ba94822877036f6c80992554ed32314a1f2.tar.bz2
[pci] Add support for the Enhanced Configuration Access Mechanism (ECAM)
The ACPI MCFG table describes a direct mapping of PCI configuration space into MMIO space. This mapping allows access to extended configuration space (up to 4096 bytes) and also provides for the existence of multiple host bridges. Add support for the ECAM mechanism described by the ACPI MCFG table, as a selectable PCI I/O API alongside the existing PCI BIOS and Type 1 mechanisms. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/pci_io.h')
-rw-r--r--src/include/ipxe/pci_io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/pci_io.h b/src/include/ipxe/pci_io.h
index 91359ce..35d16f9 100644
--- a/src/include/ipxe/pci_io.h
+++ b/src/include/ipxe/pci_io.h
@@ -58,6 +58,7 @@ struct pci_range {
PROVIDE_SINGLE_API_INLINE ( PCIAPI_PREFIX_ ## _subsys, _api_func )
/* Include all architecture-independent I/O API headers */
+#include <ipxe/ecam_io.h>
#include <ipxe/efi/efi_pci_api.h>
#include <ipxe/linux/linux_pci.h>