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 16 bytes, 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 Architecture>/riscv/core/pmp/Kconfig:30
Included via Kconfig:8 → Kconfig.zephyr:39 → <Zephyr Architecture>/Kconfig:12 → <Zephyr Architecture>/riscv/Kconfig:142
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 on PMP_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 16 bytes, to accommodate the riscv
      granularity.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)