
VxWorks
BSP Developer’s Guide, 6.0
86
■
PCI_IO16_LOC_SET
This routine sets the base address of the PCI 16-bit I/O space. This is an
alternative to setting the address using the BSP constant
PCI_ISA_IO_ADRS
The default value is 0.
■
PCI_IO16_SIZE_SET
This routine sets the maximum size memory chunk allowable for the PCI
16-bit I/O space. This is an alternative to setting the size using the BSP
constant
PCI_ISA_IO_SIZE
The default value is 0.
■
PCI_IO16_SIZE_GET
After autoconfiguration is complete, this routine retrieves the amount of
memory used for PCI 16-bit I/O space.
Custom PCI Bridge Initialization
PCI_BRIDGE_PRE_CONFIG_FUNC_SET
This bridge pre-configuration pass initialization routine is provided so that the
BSP developer can initialize a bridge device prior to the configuration pass on the
bus that the bridge implements. This routine is specified by calling
pciAutoCfgCtl( ) with the
PCI_BRIDGE_PRE_CONFIG_FUNC_SET command as
follows:
pciAutoCfgCtl(pCookie, PCI_BRIDGE_PRE_CONFIG_FUNC_SET,
sysPciAutoconfigPreEnumBridgeInit);
This optional, user-specified routine takes as input both the bus-device-function
tuple, and a 32-bit quantity containing both the PCI device ID and vendor ID of the
device. The function prototype for this routine is as follows:
STATUS sysPciAutoconfigPreEnumBridgeInit
(
PCI_SYSTEM *pSys,
PCI_LOC *pLoc,
UINT devVend
);
PCI_BRIDGE_PRE_CONFIG_FUNC_SET
FUNCPTR * pArg
PCI_BRIDGE_POST_CONFIG_FUNC_SET
FUNCPTR * pArg
Komentáře k této Příručce