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