CONFIG_PMP_POWER_OF_TWO_ALIGNMENT
Enable power of two alignment
Type: bool
Help
This option will reduce the PMP slot number usage but increase
the memory consumption.
Direct dependencies
SOC_SERIES_RISCV_VIRT
|| (RISCV_PMP
&& RISCV
)
(Includes any dependencies from ifs and menus.)
Defaults
y
n
Symbols selected by this symbol
Symbols that select this symbol
Kconfig definitions
At <SoC>/riscv/riscv-privilege/virt/Kconfig.defconfig.series:36
Included via Kconfig:8
→ Kconfig.zephyr:27
→ <SoC>/riscv/riscv-privilege/Kconfig.defconfig:6
Menu path: (Top)
config PMP_POWER_OF_TWO_ALIGNMENT
bool
default y
depends on SOC_SERIES_RISCV_VIRT
At <Architecture>/riscv/core/pmp/Kconfig:13
Included via Kconfig:8
→ Kconfig.zephyr:39
→ <Architecture>/Kconfig:12
→ <Architecture>/riscv/Kconfig:147
Menu path: (Top) → RISCV Options → RISCV Processor Options → RISC-V PMP Support
config PMP_POWER_OF_TWO_ALIGNMENT
bool "Enable power of two alignment"
default n
select MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT
select GEN_PRIV_STACKS
depends on RISCV_PMP && RISCV
help
This option will reduce the PMP slot number usage but increase
the memory consumption.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)