/* This function sets the memory attributes for a section covering 1MB, of memory in the translation table.  */
void Xil_SetTlbAttributes(INTPTR addr, u32 attrib)
/* This function sets the memory attributes for a section covering 1MB, of memory in the translation table.  */
void Xil_SetTlbAttributes(INTPTR addr, u32 attrib)
{
    INTPTR Localaddr = addr;
    Localaddr &= (~(0xFFFFFU));
    Xil_SetMPURegion(Localaddr, 0x100000, attrib);
}