forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: drop user stack guard area when using separate privileged stacks
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 <[email protected]>
- Loading branch information
1 parent
6051ea7
commit 92409f3
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters