A separate privileged stack is used when CONFIG_GEN_PRIV_STACKS=y. The main stack guard area is no longer needed and can be made available to the application upon transitioning to user mode. And that's actually required if we want a naturally aligned power-of-two buffer to let the PMP map a NAPOT entry on it which is the whole point of having this CONFIG_PMP_POWER_OF_TWO_ALIGNMENT option in the first place. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> |
||
|---|---|---|
| .. | ||
| src | ||
| CMakeLists.txt | ||
| prj_armv8m_mpu_stack_guard.conf | ||
| prj.conf | ||
| testcase.yaml | ||