Share via


OALIoTransSystemAddress (Compact 2013)

10/16/2014

This function translates the system RAM address to the bus-relative address, which can be used for DMA operations.

This function is not the inverse to OALIoTransBusAddress.

Syntax

BOOL OALIoTransSystemAddress(
  INTERFACE_TYPE ifcType,
  UINT32 busNumber,
  UINT64 systemAddress,
  UINT64 *pBusAddress
);

Parameters

  • busNumber
    [in] Bus number for the device, used with ifcType to identify the bus for systems with more than one bus of the same type.
  • systemAddress
    [in] System RAM address to be translated.
  • pBusAddress
    [out] Pointer to the translated bus-relative address.

Return Value

TRUE indicates success.

FALSE indicates failure.

Requirements

Header

oal_io.h

Library

Developer Implemented

See Also

Reference

OAL I/O Functions