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