]> git.ipfire.org Git - thirdparty/pciutils.git/commit - pcilib.man
libpci: Add PCIe ECAM access method
authorPali Rohár <pali@kernel.org>
Sun, 29 Jan 2023 23:39:36 +0000 (00:39 +0100)
committerPali Rohár <pali@kernel.org>
Sun, 5 Mar 2023 13:42:22 +0000 (14:42 +0100)
commit2ba0f6f434abbad44888e9ad372d7b562570cd1f
treea04f6b01744fd435087920db89c6cc704041bd9b
parent1249c980ab34c92fd50ce4001b3a0e8985414bfb
libpci: Add PCIe ECAM access method

This is a new direct hardware access method via PCIe ECAM (Enhanced
Configuration Access Mechanism). It is available on all PCIe-compliant
hardware. Requires root privileges and access to physical memory.

ECAM mapping can be specified manually via a new ecam.addrs parameter or
can be read from ACPI MCFG table. ACPI MCFG table can be located in the
system or read from x86 BIOS memory.
lib/Makefile
lib/configure
lib/ecam.c [new file with mode: 0644]
lib/init.c
lib/internal.h
lib/pci.h
pcilib.man