= Memory Protection = [[TOC(GSoC/2020/Memory_Protection , depth=2)]] '''Ticket:''' https://devel.rtems.org/ticket/2904 '''Mentors:''' Peter Dufault Hesham Gedare Sebastian Huber '''Student:''' Utkarsh Rai '''Blog:''' = Introduction = Most modern processors have a memory management unit (MMU) or memory protection unit (MPU) hardware whose main functions are virtual address translation, memory protection, and cache control. RTEMS primarily focuses on Real-Time/Embedded applications, making use of these MMU features is important to meet the needs of applications and platforms that require such security-critical support. RTEMS currently does not have robust protection for thread stacks. Thread stack protection is one of the more interesting features that can be implemented using MMU. This will allow users to explicitly define the thread stacks they want to access from another thread and will raise an exception in any other case. For more information, please refer to the proposal: https://docs.google.com/document/d/1AawmqbfCpRDHZ4cO5-UE1J7VacubNWmn3kae4rlPrZA/edit?usp=sharing