ApuMapApuAddress

Returns a virtual address associated with the APU physical address.

Syntax

void* ApuMapApuAddress(
         APU_ADDRESS apuPhysicalAddress
)  

Parameters

apuPhysicalAddress
Type: APU_ADDRESS 

[in] The physical address to map. This address must reside within a buffer allocated by ApuAlloc.

Return value

Type: void *

If the method succeeds, it returns the virutal address. This method will return nullptr if the physical address is invalid, or was not allocated with ApuAlloc.

Requirements

Header: Declared in apu.h.

Library: Use acphal.lib.