Xil_MemMap - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 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.