Module bus

Source
Expand description

Module for dealing with a PCI bus in general, without anything specific to VirtIO.

Structs§

BusDeviceIterator
An iterator which enumerates PCI devices and functions on a given bus.
CapabilityInfo
Information about a PCI device capability.
CapabilityIterator
Iterator over capabilities for a device.
Command
The command register in PCI configuration space.
DeviceFunction
An identifier for a PCI bus, device and function.
DeviceFunctionInfo
Information about a PCI device function.
PciRoot
The root complex of a PCI bus.
Status
The status register in PCI configuration space.

Enums§

BarInfo
Information about a PCI Base Address Register.
Cam
A PCI Configuration Access Mechanism.
HeaderType
The type of a PCI device function header.
MemoryBarType
The location allowed for a memory BAR.
PciError
Errors accessing a PCI device.

Constants§

PCI_CAP_ID_VNDR
ID for vendor-specific PCI capabilities.