Modules§
Macros§
- Capability
IdUnknown - Pattern that matches an unknown
CapabilityIdmember. - Config
Unknown - Pattern that matches an unknown
Configmember. - Extended
Capability IdUnknown - Pattern that matches an unknown
ExtendedCapabilityIdmember. - Header
Type Unknown - Pattern that matches an unknown
HeaderTypemember.
Structs§
- Address
- An address of a PCI device.
- Base
Address - Bdf
- Bus/device/function address used by the PCI root protocols.
- Board
Configuration - Capability
- Command
- Debug
GetDevices Response - Debug
GetHost Bridge Info Response - Debug
Read BarRequest - Debug
Read BarResponse - Device
GetBar Request - Device
GetBti Request - Device
GetCapabilities Request - Device
GetCapabilities Response - Device
GetDevice Info Response - Device
GetExtended Capabilities Request - Device
GetExtended Capabilities Response - Device
GetInterrupt Modes Response - Device
Info - Device specific information from a device’s configuration header. PCI Local Bus Specification v3, chapter 6.1.
- Device
MapInterrupt Request - Device
Read Config8 Request - Device
Read Config8 Response - Device
Read Config16 Request - Device
Read Config16 Response - Device
Read Config32 Request - Device
Read Config32 Response - Device
SetBus Mastering Request - Device
SetInterrupt Mode Request - Device
Write Config8 Request - Device
Write Config16 Request - Device
Write Config32 Request - Extended
Capability - Host
Bridge Info - Interrupt
Modes - Returned by |GetInterruptModes|. Contains the number of interrupts supported by a given PCI device interrupt mode. 0 is returned for a mode if unsupported.
- Padding
- PciDevice
- Status
- UseIntx
Workaround Type
Enums§
- Capability
Id - PCI Capability ID. PCI Local Bus Specification v3, appendex H.
- Config
- PCI Configuration Header registers. PCI Local Bus Specification v3, chapter 6.1.
- Extended
Capability Id - PCI Extended Capability IDs. PCIe Base Specification rev4, chapter 7.6.
- Header
Type - Interrupt
Mode - Used with ||SetInterruptMode| to configure an interrupt mode for the device. Devices configured to use the LEGACY Irq mode must ack their interrupt after servicing by calling |AckInterrupt|.
Constants§
- BASE_
ADDRESS_ COUNT - BASE_
CONFIG_ SIZE - Per the PCI specification.
- EXTENDED_
CONFIG_ SIZE - LEGACY_
INTERRUPT_ COUNT - Legacy interrupt pins INTA through INTD.
- MAX_
BAR_ COUNT - MAX_
CAPABILITIES - MAX_
DEVICES - At the time of writing, a Device is 571 bytes.
- MAX_
EXT_ CAPABILITIES - MAX_
NAME_ LEN - READBAR_
MAX_ SIZE - STATUS_
DEVSEL_ MASK
Type Aliases§
- Config
Offset - An offset from the beginning of a device’s PCI configuration space. [0, 0x100) is valid.
- Extended
Config Offset - An offset from the beginning of a device’s PCIe configuration space. [0, 0x800) is valid.