<div dir="ltr">Hello, <div><br></div><div>I'm porting an application to RTEMS and I was looking to a way to disable the L2 cache using tlb attributes. The xilinx function I want to use is this : </div><div><br></div><div>Extern u32 MMUTable </div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">void Xil_SetTlbAttributes(u32 addr, u32 attrib)
{
u32 *ptr;
u32 section;</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"> section = addr / 0x100000;
ptr = &MMUTable + section;
*ptr = (addr & 0xFFF00000) | attrib;
Xil_DCacheFlush();
mtcp(XREG_CP15_INVAL_UTLB_UNLOCKED, 0);
/* Invalidate all branch predictors */
mtcp(XREG_CP15_INVAL_BRANCH_ARRAY, 0);
}</pre></div><div>Can you please help me on how to do this calling the mmu table under RTEMS. </div><div>Alson do you have an idea how can I disable the UART output (STDOUT) ? </div><div><br></div><div><br></div><div>Best, </div><div>Damiens </div></div>