Xil_MemMap - 2023.1 English

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

Document ID
UG643
Release Date
2023-05-16
Version
2023.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.