PCI_readRegBlock

Function to read a block of PCI congfiguration space registers

Declaration

void PCIAPI PCI_readRegBlock(
    PCIDeviceInfo *info,
    int index,
    void *dst,
    int count)

Prototype In

pcilib.h

Parameters

info

PCI device information block for device to access

index

Index of register to start reading from

dst

Place to store the values read from configuration space

count

Count of bytes to read from configuration space

 

Description

This function is used to read a block of PCI configuration space registers from the configuration space into the passed in data block. This function will properly handle reading non-DWORD aligned data from the configuration space correctly.

See Also

PCI_getNumDevices, PCI_enumerate, PCI_accessReg, PCI_readRegBlock PCI_writeRegBlock

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