BootImageVAtoPA Function (Compact 2013)
3/26/2014
Because the downloaded OS image uses virtual addresses, and the memory mapping can differ between the boot loader and the OS, BootImageVAtoPA maps the virtual memory address of an OS image to a physical address. On platforms where the boot loader and the OS use the same memory mapping, this function is equal to BootVAtoPA.
This function is implemented in:
%_WINCEROOT%\Platform\Common\Src\Common\Bldr\Core\<CPU Family>\Memory.c
Its syntax is:
uint32_t BootImageVAtoPA ( void *pAddress );
BootImageVAtoPA Function Input Parameters
Parameter |
Type |
Description |
---|---|---|
pAddress |
void * |
A virtual memory address that the OS image uses. |
This function returns the physical memory address.