PCIType0Info

Declaration

typedef struct {
ulong BaseAddress10;
ulong BaseAddress14;
ulong BaseAddress18;
ulong BaseAddress1C;
ulong BaseAddress20;
ulong BaseAddress24;
ulong CardbusCISPointer;
ushort SubSystemVendorID;
ushort SubSystemID;
ulong ROMBaseAddress;
uchar CapabilitiesPointer;
uchar reserved1;
uchar reserved2;
uchar reserved3;
ulong reserved4;
uchar InterruptLine;
uchar InterruptPin;
uchar MinimumGrant;
uchar MaximumLatency;
ulong BaseAddress10Len;
ulong BaseAddress14Len;
ulong BaseAddress18Len;
ulong BaseAddress1CLen;
ulong BaseAddress20Len;
ulong BaseAddress24Len;
ulong ROMBaseAddressLen;
} PCIType0Info

Prototype In

pcilib.h

Description

Structure defining the regular (type 0) PCI configuration register layout. We use this in the PCIDeviceInfo union so we can describe all types of PCI configuration spaces with a single structure.

Note: The PCI base address length values are not actually in the PCI configuration space, but are calculated when the configuration space is enumerated as they are useful values to know.

Members

BaseAddress10 | Base address register (BAR) 10h
BaseAddress14 | Base address register (BAR) 14h
BaseAddress18 | Base address register (BAR) 18h
BaseAddress1C | Base address register (BAR) 1Ch
BaseAddress20 | Base address register (BAR) 20h
BaseAddress24 | Base address register (BAR) 24h
CardbusCISPointer | Pointer to CardBus Information Structure in config space
SubSystemVendorID | Sub System Vendor ID for this device type
SubSystemID | Sub System ID for this device type
ROMBaseAddress | Base address for ROM on device (if any)
CapabilitiesPointer | Pointer to PCI capabilities list
reserved1 | Reserved: not used for this device type
reserved2 | Reserved: not used for this device type
reserved3 | Reserved: not used for this device type
reserved4 | Reserved: not used for this device type
InterruptLine | Interrupt line assigned to this device
InterruptPin | Interrupt pin assigned to this device
MinimumGrant | Minimum interrupt grant assigned to this device
MaximumLatency | Maximum interrupt latency assigned to this device
BaseAddress10Len | Length of BAR 10 (calculated value)
BaseAddress14Len | Length of BAR 14 (calculated value)
BaseAddress18Len | Length of BAR 18 (calculated value)
BaseAddress1CLen | Length of BAR 1C (calculated value)
BaseAddress20Len | Length of BAR 20 (calculated value)
BaseAddress24Len | Length of BAR 24 (calculated value)
ROMBaseAddressLen | Length of ROM (calculated value)

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com