OALPCITransBusAddress (Windows CE 5.0)
This function translates the PCI bus-relative address to the CPU address space.
BOOL OALPCITransBusAddress( UINT32 busId, UINT64 busAddress, UINT32 *pAddressSpace, UINT64 *pSystemAddress);
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. - busAddress
[in] PCI bus-relative address to be translated. - pAddressSpace
[in, out] On output, a pointer to a port number or a memory address. pAddressSpace 0x0 indicates memory, 0x1 indicates I/O space. - pSystemAddress
[out] Pointer to the translated system address.
Return Values
TRUE indicates success.
FALSE indicates failure.
Remarks
Requirements
OS Versions: Windows CE Version 5.0 and later
Header: Oal_pci.h
Link Library: Developer-defined
See Also
Send Feedback on this topic to the authors