Share via


OALPCITransBusAddress (Windows Embedded CE 6.0)

1/5/2010

This function translates the PCI bus-relative address to the CPU address space.

Syntax

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 Value

TRUE indicates success.

FALSE indicates failure.

Requirements

Header oal_pci.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

PCI Functions