Xil_SetTlbAttributes - 2022.2 English - UG643

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

This function sets the memory attributes for a section covering 1MB of memory in the translation table.

Note: The MMU or D-cache does not need to be disabled before changing a translation table entry.

Prototype

void Xil_SetTlbAttributes(UINTPTR Addr, u32 attrib);

Parameters

The following table lists the Xil_SetTlbAttributes function arguments.

Table 1. Xil_SetTlbAttributes Arguments
Name Description
Addr 32-bit address for which the attributes need to be set.
attrib Attributes for the specified memory region. xil_mmu.h contains commonly used memory attributes definitions which can be utilized for this function.

Returns

None.