Expand description
PCI Configuration Space Access
Provides functions to scan the PCI bus and read/write configuration registers. Used to discover VirtIO and other PCI devices.
Reference: PCI Local Bus Specification 3.0
Modules§
- class
- PCI base class codes
- command
- PCI command register bits
- config
- PCI configuration register offsets
- device
- PCI Device IDs (VirtIO legacy)
- intel_
eth - Intel Ethernet device IDs
- net_
subclass - PCI subclasses for network controllers
- sata_
progif - Programming interface codes for mass-storage SATA controllers
- storage_
subclass - PCI subclasses for mass storage controllers
- vendor
- PCI Vendor IDs
Structs§
- PciAddress
- A PCI device location
- PciDevice
- PCI device information
- PciScanner
- Iterator for scanning PCI bus
- Probe
Criteria - Full PCI probe criteria.
Enums§
- Bar
- Base Address Register (BAR) types
Functions§
- all_
devices - Return a snapshot of all discovered PCI devices.
- find_
device - Helper to find a device by vendor and device ID
- find_
devices_ by_ class - Return all devices matching a PCI class/subclass pair.
- find_
devices_ by_ vendor - Return all devices for a given vendor from the cached PCI inventory.
- find_
virtio_ device - Find a specific VirtIO device by device ID
- find_
virtio_ devices - Find all VirtIO devices on the PCI bus
- invalidate_
cache - Invalidate PCI cache.
- probe_
all - Return all devices matching
criteria. - probe_
first - Return the first device matching
criteria.