Re-exports§
pub use self::natural::*;
Modules§
Structs§
- Address
- An address of a PCI device.
- Base
Address - Board
Configuration - Bus
- The type corresponding to the Bus protocol. The Bus protocol provides information about PCI device children on the PCI providing the service.
- BusGet
Devices Response - BusGet
Host Bridge Info Response - BusRead
BarRequest - BusRead
BarResponse - Capability
- Command
- 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|. 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
Traits§
- BusClient
Handler - A client handler for the Bus protocol.
- BusLocal
Client Handler - A client handler for the Bus protocol.
- BusLocal
Server Handler - A server handler for the Bus protocol.
- BusServer
Handler - A server handler for the Bus protocol.
- 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