This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_GEN_PRIV_STACKS

(No prompt – not directly user assignable.)

Type: bool

Help

Selected if the architecture requires that privilege elevation stacks
be allocated in a separate memory area. This is typical of arches
whose MPUs require regions to be power-of-two aligned/sized.

FIXME: This should be removed and replaced with checks against
CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT, but both ARM and ARC
changes will be necessary for this.

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At arch/Kconfig:307

Included via Kconfig:8Kconfig.zephyr:39

Menu path: (Top) → General Architecture Options

config GEN_PRIV_STACKS
    bool
    help
      Selected if the architecture requires that privilege elevation stacks
      be allocated in a separate memory area. This is typical of arches
      whose MPUs require regions to be power-of-two aligned/sized.

      FIXME: This should be removed and replaced with checks against
      CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT, but both ARM and ARC
      changes will be necessary for this.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)