Xil_SetMPURegionByRegNum - 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

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.

Table 1. Xil_SetMPURegionByRegNum 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.

Returns

XST_SUCCESS: If the region could be created successfully XST_FAILURE: If the requested region number is 16 or more.