Macros§
- Capability
IdUnknown - Pattern that matches an unknown
CapabilityId
member. - Config
Unknown - Pattern that matches an unknown
Config
member. - Extended
Capability IdUnknown - Pattern that matches an unknown
ExtendedCapabilityId
member. - Header
Type Unknown - Pattern that matches an unknown
HeaderType
member. - Interrupt
Mode Unknown - Pattern that matches an unknown
InterruptMode
member.
Structs§
- Address
- An address of a PCI device.
- Base
Address - Board
Configuration - BusGet
Devices Response - BusGet
Host Bridge Info Response - BusRead
BarRequest - BusRead
BarResponse - Capability
- Command
- 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|. To avoid this, LEGACY_NOACK can be used, but the driver’s interrupt function will be disabled by the PCI Bus Driver if it sees excessive interrupt triggers in a given period.
Constants§
- BASE_
ADDRESS_ COUNT - BASE_
CONFIG_ SIZE - EXTENDED_
CONFIG_ SIZE - MAX_
BAR_ COUNT - MAX_
CAPABILITIES - MAX_
DEVICES - 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.