OALPCICfgWrite (Windows Embedded CE 6.0)
1/5/2010
This function writes to the PCI configuration space at the location specified by pciLoc.
Syntax
UINT32 OALPCICfgWrite(
UINT32 busId,
OAL_PCI_LOCATION pciLoc,
UINT32 offset,
UINT32 size,
VOID *pData
);
Parameters
- busId
[in] Identifies the PCI bus controller if there are multiple PCI bus controllers on the system. Set this parameter to 0 to represent the first bus controller, set this value to 1 to represent the second bus controller, and so on.
- pciLoc
[in] Specifies an OAL_PCI_LOCATION structure.
- offset
[in] Specifies the address in which pData is to be stored.
- size
[in] Size of the address space based on the size of the pData parameter.
- pData
[in] Pointer to the data to write to the device configuration space.
Return Value
Returns the number of bytes written to the device configuration space.
Remarks
OALPCICfgWrite is hardware dependent and, in most cases, it is implemented in the SOC library or it is hardware platform-specific.
Requirements
Header | oal_pci.h |
Library | Developer Implemented |
Windows Embedded CE | Windows CE 5.0 and later |