-
CONFIG_PMP_STACK_GUARD_MIN_SIZE
¶
Guard size
Type: int
Help¶
Minimum size (and alignment when applicable) of an stack guard region, which guards the stack of a thread. The width of the guard is set to 4, to accommodate the riscv granularity.
Direct dependencies¶
PMP_STACK_GUARD
&& RISCV_PMP
&& RISCV
(Includes any dependencies from ifs and menus.)
Default¶
16
Kconfig definition¶
At <Zephyr>/arch/riscv/core/pmp/Kconfig:30
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:29
→ <Zephyr>/arch/Kconfig:12
→ <Zephyr>/arch/riscv/Kconfig:130
Menu path: (Top) → RISCV Options → RISCV Processor Options → RISC-V PMP Support → Thread Stack Guard
config PMP_STACK_GUARD_MIN_SIZE int "Guard size" default 16 depends onPMP_STACK_GUARD
&&RISCV_PMP
&&RISCV
help Minimum size (and alignment when applicable) of an stack guard region, which guards the stack of a thread. The width of the guard is set to 4, to accommodate the riscv granularity.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)