HalTranslateSystemAddress

This function translates a system physical address to a bus-relative, logical address, which can be handed off to a bus controller, for example, a DMA bus controller.

BOOLEAN HalTranslateSystemAddress(
  INTERFACE_TYPE InterfaceType,
  ULONG BusNumber,
  PHYSICAL_ADDRESS SystemAddress,
  PPHYSICAL_ADDRESS TranslatedAddress
)

Parameters

  • InterfaceType
    [in] Type of bus on which the DMA controller resides.
  • BusNumber
    [in] Bus number.
  • SystemAddress
    [in] System physical address to translate.
  • TranslatedAddress
    [out] Translated bus-relative logical address.

Return Values

Returns TRUE if success. Returns FALSE if failure.

Remarks

Translation between any of the bus interface types listed in INTERFACE_TYPE is supported.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: CEDDK.h.
Link Library: CEDDK.lib.

See Also

INTERFACE_TYPE | Implementing CEDDK.dll

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.