Module pci_configuration

Source

StructsΒ§

PciBarConfiguration
PciBarIter
PciCapMapping
Struct for updating a capabilitiy’s mmio mapping.
PciConfiguration
Contains the configuration space of a PCI node. See the specification. The configuration space is accessed with DWORD reads and writes from the guest.
PciConfigurationSerialized

EnumsΒ§

Error
PciBarPrefetchable
PciBarRegionType
See pci_regs.h in kernel
PciBaseSystemPeripheralSubclass
Subclasses of the BaseSystemPeripheral class.
PciBridgeSubclass
Subclasses of the BridgeDevice
PciCapabilityID
Types of PCI capabilities.
PciClassCode
Classes of PCI nodes.
PciClassCodeParseError
PciDisplaySubclass
Subclasses of the DisplayController class.
PciHeaderType
Represents the types of PCI headers allowed in the configuration registers.
PciInputDeviceSubclass
Subclasses of the InputDevice class.
PciMassStorageSubclass
Subclasses of the MassStorage class.
PciMultimediaSubclass
Subclasses of the MultimediaController class.
PciNetworkControllerSubclass
Subclasses of the NetworkController class.
PciOtherSubclass
Subclasses for PciClassCode Other.
PciSerialBusSubClass
Subclass of the SerialBus
PciSimpleCommunicationControllerSubclass
Subclasses of the SimpleCommunicationController class.
PciWirelessControllerSubclass
Subclasses of the WirelessController class.

ConstantsΒ§

BAR0_REG
BAR_IO_ADDR_MASK πŸ”’
BAR_IO_MIN_SIZE πŸ”’
BAR_MEM_ADDR_MASK πŸ”’
BAR_MEM_MIN_SIZE πŸ”’
BAR_ROM_MIN_SIZE πŸ”’
CAPABILITY_LIST_HEAD_OFFSET
CAPABILITY_MAX_OFFSET
CLASS_REG
COMMAND_REG
COMMAND_REG_IO_SPACE_MASK
COMMAND_REG_MEMORY_SPACE_MASK
FIRST_CAPABILITY_OFFSET πŸ”’
HEADER_TYPE_MULTIFUNCTION_MASK
HEADER_TYPE_REG
HEADER_TYPE_REG_OFFSET
INTERRUPT_LINE_PIN_REG πŸ”’
NUM_BAR_REGS
NUM_CONFIGURATION_REGISTERS πŸ”’
PCI_CAP_NEXT_POINTER
PCI_ID_REG
ROM_BAR_IDX
ROM_BAR_REG
STATUS_REG πŸ”’
STATUS_REG_CAPABILITIES_USED_MASK

TraitsΒ§

PciCapConfig
A trait for implementing complex PCI capabilities.
PciCapConfigWriteResult
PciCapability
A PCI capability list. Devices can optionally specify capabilities in their configuration space.
PciProgrammingInterface
A PCI class programming interface. Each combination of PciClassCode and PciSubclass can specify a set of register-level programming interfaces. This trait is implemented by each programming interface. It allows use of a trait object to generate configurations.
PciSubclass
A PCI sublcass. Each class in PciClassCode can specify a unique set of subclasses. This trait is implemented by each subclass. It allows use of a trait object to generate configurations.

Type AliasesΒ§

PciBarIndex
Result