Enables the corresponding region number as passed by the user.
Prototype
u32 Xil_SetMPURegionByRegNum(u32 reg_num, INTPTR addr, u64 size, u32 attrib);
Parameters
The following table lists the Xil_SetMPURegionByRegNum function arguments.
| Name | Description |
|---|---|
| reg_num | The region number to be enabled |
| addr | 32-bit address for start of the region. |
| size | Requested size of the region. |
| attrib | Attribute for the corresponding region. |