Skip to content

Commit 2feb8bd

Browse files
committed
Address review feedback
Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent b0d5547 commit 2feb8bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: include/stack_macros.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@
6060
* 2. System calls are executed on a separate privileged only stack.
6161
*
6262
* It is still okay because an MPU region is used to protect task stack which
63-
* means task stack overflow will trigger an MPU fault.
63+
* means task stack overflow will trigger an MPU fault for unprivileged tasks.
64+
* Additionally, architectures with hardware stack overflow checking support
65+
* (such as Armv8-M) will trigger a fault when a task's stack overflows.
6466
*/
6567
#if ( ( configCHECK_FOR_STACK_OVERFLOW == 1 ) && ( portSTACK_GROWTH < 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
6668

0 commit comments

Comments
 (0)