次の方法で共有


OALPCITransBusAddress (Compact 2013)

10/16/2014

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

See Also

Reference

PCI Functions