Xil_MemMap - 2022.2 English

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

Memory mapping for Cortex A9 processor.

Note: : Previously this was implemented in libmetal. Move to embeddedsw as this functionality is specific to A9 processor.

Prototype

void * Xil_MemMap(UINTPTR PhysAddr, size_t size, u32 flags);

Parameters

The following table lists the Xil_MemMap function arguments.

Table 1. Xil_MemMap Arguments
Name Description
PhysAddr is physical address.
size is size of region.
flags is flags used to set translation table.

Returns

Pointer to virtual address.