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.