mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 13:15:19 -05:00
Address review feedback
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
b0d5547ba7
commit
2feb8bd8a9
1 changed files with 3 additions and 1 deletions
|
|
@ -60,7 +60,9 @@
|
||||||
* 2. System calls are executed on a separate privileged only stack.
|
* 2. System calls are executed on a separate privileged only stack.
|
||||||
*
|
*
|
||||||
* It is still okay because an MPU region is used to protect task stack which
|
* It is still okay because an MPU region is used to protect task stack which
|
||||||
* means task stack overflow will trigger an MPU fault.
|
* means task stack overflow will trigger an MPU fault for unprivileged tasks.
|
||||||
|
* Additionally, architectures with hardware stack overflow checking support
|
||||||
|
* (such as Armv8-M) will trigger a fault when a task's stack overflows.
|
||||||
*/
|
*/
|
||||||
#if ( ( configCHECK_FOR_STACK_OVERFLOW == 1 ) && ( portSTACK_GROWTH < 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
|
#if ( ( configCHECK_FOR_STACK_OVERFLOW == 1 ) && ( portSTACK_GROWTH < 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue