Compartilhar via


OALIoTransBusAddress (Compact 2013)

10/16/2014

This function translates the bus-relative address to the system address, which can be used for I/O operations.

Syntax

BOOL OALIoTransBusAddress(
  INTERFACE_TYPE ifcType,
  UINT32 busNumber,
  UINT64 busAddress,
  UINT32 *pAddressSpace,
  UINT64 *pSystemAddress
);

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.
  • busAddress
    [in] Bus-relative address.
  • 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_io.h

Library

Developer Implemented

See Also

Reference

OAL I/O Functions