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(INTPTR Addr, u32 attrib);
Parameters
The following table lists the Xil_SetTlbAttributes
function arguments.
Name | Description |
---|---|
Addr | 32-bit address for which memory attributes need to be set. |
attrib | Attribute for the given memory region. xil_mmu.h contains definitions of commonly used memory attributes which can be utilized for this function. |