Syntax:
PLX_STATUS PlxPci_PciBarSpaceRead(
PLX_DEVICE_OBJECT *pDevice,
U8 BarIndex,
U32 offset,
VOID *pBuffer,
U32 ByteCount,
PLX_ACCESS_TYPE AccessType,
BOOLEAN bOffsetAsLocalAddr
);
PLX Chip Support:
All 9000 series & 8311
Description:
Reads from the specified PCI BAR space of a PLX chip (sometimes referred to as Direct Slave Read).
从PLX芯片的指定PCI条空间读取(有时称为直接从机读取)
Parameters:
pDevice
Pointer to an open device
BarIndex
The index of the PCI BAR to access. Valid values are in the range 0-5.
要访问的PCI条的索引。有效值在0-5范围内。
offset
If bOffsetAsLocalAddr is FALSE, offset is an offset from the PCI BAR space.
如果boffsetaslocaladdr为false,则offset是PCI条空间的偏移量。
The mapping will not be adjusted because the function assumes the space is already mapp