BootVAtoPA Function (Compact 2013)
3/26/2014
BootVAtoPA maps a virtual memory address to a physical memory address so it can be used for direct memory access (DMA) transfers.
This function is implemented in:
%_WINCEROOT%\Platform\Common\Src\Common\Bldr\Core\<CPU Family>\Memory.c
Its syntax is:
uint32_t BootVAtoPA ( void *pAddress );
BootVAtoPA Function Input Parameters
Parameter |
Type |
Description |
---|---|---|
pAddress |
void * |
The virtual memory address. |
This function returns the physical memory address. In physical mapping mode (that is, when the memory management unit (MMU) is not active), it simply returns the passed address.