XMpuPl_AddRegion

Memory and Peripheral Protection Unit for PL Isolation in Zynq UltraScale+ Devices (XAPP1353)

Document ID
XAPP1353
Release Date
2022-05-04
Revision
1.1 English
u32 XMpuPl_AddRegion(XmpuPl *InstancePtr, u64 start, u32 size, u32 masters, u32 config);

This configures a protected address region in to the next available region.

Parameters

InstancePtr *
Pointer to XmpuPl instance
Start
Upper 32 bits of a 40-bit starting address for the region.
Size
Size of the region in KB(s)
Masters
Value written to R[n]_MASTERS register. Each bit authorizes a PS Master.
Config
Value written to R[n]_CONFIG register.

Return

Status
Function execution status: 0U Success; 1U Error.