Re-exports§
pub use self::natural::*;
Modules§
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
- The type corresponding to the Debug protocol. The Debug protocol provides information about devices on a particular bus. It is used for tools like lspci and not for driver operations.
- Debug
GetDevices Response - Debug
GetHost Bridge Info Response - Debug
Read BarRequest - Debug
Read BarResponse - Debug
Service - The type corresponding to the DebugService service.
- Debug
Service Connector - A strongly-typed service connector for the
DebugServiceservice. - Device
- The type corresponding to the Device protocol.
- 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.
- PciDevice
- Service
- The type corresponding to the Service service.
- Service
Connector - A strongly-typed service connector for the
Serviceservice. - Status
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
Traits§
- Debug
Client Handler - A client handler for the Debug protocol.
- Debug
Local Client Handler - A client handler for the Debug protocol.
- Debug
Local Server Handler - A server handler for the Debug protocol.
- Debug
Server Handler - A server handler for the Debug protocol.
- Debug
Service Handler - A service handler for the
DebugServiceservice. - Device
Client Handler - A client handler for the Device protocol.
- Device
Local Client Handler - A client handler for the Device protocol.
- Device
Local Server Handler - A server handler for the Device protocol.
- Device
Server Handler - A server handler for the Device protocol.
- Service
Handler - A service handler for the
Serviceservice.
Type Aliases§
- Config
Offset - An offset from the beginning of a device’s PCI configuration space. [0, 0x100) is valid.
- Device
AckInterrupt Response - Device
Reset Device Response - Device
SetBus Mastering Response - Device
SetInterrupt Mode Response - Device
Write Config8 Response - Device
Write Config16 Response - Device
Write Config32 Response - Extended
Config Offset - An offset from the beginning of a device’s PCIe configuration space. [0, 0x800) is valid.
- Padding
- UseIntx
Workaround Type