PCI_writeRegBlock

Function to read a block of PCI congfiguration space registers

Declaration

void PCIAPI PCI_writeRegBlock(
    PCIDeviceInfo *info,
    int index,
    void *src,
    int count)

Prototype In

pcilib.h

Parameters

info

PCI device information block for device to access

index

Index of register to start reading from

src

Place to store the values read from configuration space

count

Count of bytes to read from configuration space

 

Description

This function is used to write a block of PCI configuration space registers to the configuration space from the passed in data block. This function will properly handle writing non-DWORD aligned data to 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