]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[pci] Add support for the Enhanced Configuration Access Mechanism (ECAM)
authorMichael Brown <mcb30@ipxe.org>
Wed, 14 Sep 2022 13:29:52 +0000 (14:29 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 16 Sep 2022 00:05:47 +0000 (01:05 +0100)
commitbe667ba94822877036f6c80992554ed32314a1f2
treee4c5dcd30a4de0d9b58c58357aa184cb397e7dd7
parentff228f745c15594291fd3cbf3c02af27753a3885
[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>
src/drivers/bus/ecam.c [new file with mode: 0644]
src/include/ipxe/ecam.h [new file with mode: 0644]
src/include/ipxe/ecam_io.h [new file with mode: 0644]
src/include/ipxe/errfile.h
src/include/ipxe/pci_io.h