-
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¶
- 384 if
ARC
&&ARCH_HAS_USERSPACE
- 256 if
ARCH_HAS_USERSPACE
Kconfig definition¶
At arch/Kconfig:89
Included via Kconfig:10
→ Kconfig.zephyr:23
Menu path: (top menu) → General Architecture Options
config PRIVILEGED_STACK_SIZE int prompt "Size of privileged stack" ifARCH_HAS_USERSPACE
default 384 ifARC
&&ARCH_HAS_USERSPACE
default 256 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.)