HalTranslateSystemAddress (Windows Embedded CE 6.0)
1/6/2010
This function translates a physical system address to a logical bus address, which can be passed to a bus controller, for example, a direct memory access (DMA) bus controller.
Syntax
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 Value
Returns TRUE if success. Returns FALSE if failure.
Remarks
The translation between any of the bus interface types listed in INTERFACE_TYPE is supported.
Requirements
Header | ceddk.h |
Library | CEDDK.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |