PCI_COMMON_CONFIG structure (wdm.h)

The PCI_COMMON_CONFIG structure defines standard PCI configuration information returned by the HalGetBusData or HalGetBusDataByOffset routine for the input BusDataType PCIConfiguration, assuming the caller-allocated Buffer is of sufficient Length.

Syntax

typedef struct _PCI_COMMON_CONFIG : PCI_COMMON_HEADER {
  UCHAR DeviceSpecific[192];
} PCI_COMMON_CONFIG, *PPCI_COMMON_CONFIG;

Inheritance

The PCI_COMMON_CONFIG structure implements PCI_COMMON_HEADER.

Members

DeviceSpecific[192]

Contains any device-specific initialization information that is available.

type0

Drivers call HalAssignSlotResources to configure these values and to get back the bus-relative values passed to other configuration routines.

BaseAddresses

Base addresses.

Reserved1

Reserved.

ROMBaseAddress

ROM base address.

Reserved2

Reserved.

InterruptLine

Interrupt line number.

InterruptPin

Interrupt pin number.

MinimumGrant

Minimum grant.

MaximumLatency

Maximum latency.

Remarks

Certain members of this structure have read-only values, so attempts to reset them are ignored. These members include the following: VendorID, DeviceID, RevisionID, ProgIf, SubClass, BaseClass, HeaderType, InterruptPin, MinimumGrant, and MaximumLatency.

Other members are provisionally read-only: that is, the system initializes them to their correct values, so drivers can safely treat them as read-only. However, they can be reset if a bus-master driver finds it necessary. These members include the following: CacheLineSize and LatencyTimer.

Requirements

Requirement Value
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h, Miniport.h)

See also

HalAssignSlotResources

HalGetBusData

HalGetBusDataByOffset

HalSetBusData

HalSetBusDataByOffset