:orphan: .. title:: CONFIG_PMP_POWER_OF_TWO_ALIGNMENT .. kconfig:: CONFIG_PMP_POWER_OF_TWO_ALIGNMENT CONFIG_PMP_POWER_OF_TWO_ALIGNMENT ################################# *Enable power of two alignment* Type: ``bool`` Help ==== .. code-block:: none This option will reduce the PMP slot number usage but increase the memory consumption. Direct dependencies =================== \ :kconfig:`SOC_SERIES_RISCV_VIRT ` || (\ :kconfig:`RISCV_PMP ` && \ :kconfig:`RISCV `) *(Includes any dependencies from ifs and menus.)* Defaults ======== - y - n Symbols selected by this symbol =============================== - \ :kconfig:`MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT ` - \ :kconfig:`GEN_PRIV_STACKS ` Symbols that select this symbol =============================== - \ :kconfig:`RISCV_PMP ` Kconfig definitions =================== At ``/riscv/riscv-privilege/virt/Kconfig.defconfig.series:36`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/riscv/riscv-privilege/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig config PMP_POWER_OF_TWO_ALIGNMENT bool default y depends on SOC_SERIES_RISCV_VIRT ---- At ``/riscv/core/pmp/Kconfig:13`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/riscv/Kconfig:147`` Menu path: (Top) → RISCV Options → RISCV Processor Options → RISC-V PMP Support .. code-block:: kconfig 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.)*