Expand description
PCI Bus Driver
Implements PCI bus enumeration and device management.
Modules§
- class_
codes - PCI class codes (per PCI specification)
- command_
flags - PCI command register flags (per PCI specification)
Structs§
- MsiCapability
- MSI capability information parsed from the PCI capability chain.
- Msix
Capability - MSI-X capability information parsed from the PCI capability chain.
- PciBus
- PCI bus implementation
- PciDevice
- PCI device representation
- PciLocation
- PCI device location
Enums§
- PciBar
- PCI Base Address Register
- PciConfig
Register - PCI configuration space registers (per PCI Local Bus Specification)
Functions§
- configure_
msi - Configure MSI for a device to deliver a specific vector to a target APIC.
- ecam_
read_ config - Read a PCI config register using memory-mapped ECAM access (PCIe).
- ecam_
write_ config - Write a PCI config register using memory-mapped ECAM access (PCIe).
- get_
pci_ bus - Get the global PCI bus
- init
- Initialize PCI bus
- is_
pci_ initialized - Check if PCI bus has been initialized
- probe_
known_ drivers - Probe enumerated PCI devices and initialize known VirtIO drivers.