<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,</div><div dir="ltr"><br><div>Section B3.3.3 of the<a href="https://static.docs.arm.com/ddi0406/c/DDI0406C_C_arm_architecture_reference_manual.pdf"> ARMv7-A Reference manual</a> says that we can have TTBR0 and 1 split up the address space into two parts, where each register has the address of the translation table base</div><div>of the divided address space.<br><div>One of the ways to simplify the implementation of thread-stack protection in ARMv7-A MMU can be, to have the global statically allocated sections being pointed by the TTBR1 register and the work-space area being pointed out by the TTBR0 register. This way during context switch we would only have to change the TTBR0 register, this would also simplify the implementation as we won't have to worry about addresses of different page sizes being pointed by the same translation-table base.</div></div><div>In the current implementation, TTB is put in TTBR0, and TTBR1 is not used.</div><div>Is the above-suggested implementation feasible?</div><div><br></div><div>Regards,</div><div>Utkarsh</div></div></div></div></div>