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

Update the MPU configuration for the requested region number in the global MPU configuration table.

Prototype

u32 Xil_UpdateMPUConfig(u32 reg_num, INTPTR address, u32 size, u32 attrib);

Parameters

The following table lists the Xil_UpdateMPUConfig function arguments.

Table 1. Xil_UpdateMPUConfig Arguments
Name Description
reg_num The requested region number to be updated information for.
address 32 bit address for start of the region.
size Requested size of the region.
attrib Attribute for the corresponding region.

Returns

XST_FAILURE: When the requested region number if 16 or more. XST_SUCCESS: When the MPU configuration table is updated.