CONFIG_PRIVILEGED_STACK_SIZE

Size of privileged stack

Type: int

Help

This option sets the privileged stack region size that will be used in addition to the user mode thread stack. During normal execution, this region will be inaccessible from user mode. During system calls, this region will be utilized by the system call.

Direct dependencies

ARCH_HAS_USERSPACE

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At arch/Kconfig:89

Included via Kconfig:10Kconfig.zephyr:23

Menu path: (top menu) → General Architecture Options

config PRIVILEGED_STACK_SIZE
    int
    prompt "Size of privileged stack" if ARCH_HAS_USERSPACE
    default 384 if ARC && ARCH_HAS_USERSPACE
    default 256 if ARCH_HAS_USERSPACE
    depends on ARCH_HAS_USERSPACE
    help
      This option sets the privileged stack region size that will be used
      in addition to the user mode thread stack.  During normal execution,
      this region will be inaccessible from user mode.  During system calls,
      this region will be utilized by the system call.

(Definitions include propagated dependencies, including from if’s and menus.)