-
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.
Defaults¶
- 1024 if
ARCH_HAS_USERSPACE
Kconfig definition¶
At arch/Kconfig:179
Included via Kconfig:10
→ Kconfig.zephyr:29
Menu path: (top menu) → General Architecture Options
config PRIVILEGED_STACK_SIZE int prompt "Size of privileged stack" ifARCH_HAS_USERSPACE
default 1024 ifARCH_HAS_USERSPACE
depends onARCH_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.)