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. This value must be
a multiple of the minimum stack alignment.
Defaults
4096
2048 if
ZTEST
4096
1024
Kconfig definitions
At <Zephyr>/boards/arm/mps2_an385/Kconfig.defconfig:55
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:22
Menu path: (Top)
config PRIVILEGED_STACK_SIZE
int
default 4096
depends on COVERAGE && BOARD_MPS2_AN385
At <nRF>/Kconfig.nrf:47
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:33
→ <Zephyr>/modules/Kconfig:6
→ <nRF>/doc/_build/kconfig/Kconfig.modules:2
Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect
config PRIVILEGED_STACK_SIZE
int
default 2048 if ZTEST
At <Zephyr>/arch/arm64/core/Kconfig:88
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:39
→ <Zephyr>/arch/Kconfig:12
→ <Zephyr>/arch/arm64/Kconfig:32
Menu path: (Top) → ARM64 Options
config PRIVILEGED_STACK_SIZE
int
default 4096
depends on ARM64
At <Zephyr>/arch/Kconfig:265
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:39
Menu path: (Top) → General Architecture Options
config PRIVILEGED_STACK_SIZE
int "Size of privileged stack"
default 1024
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. This value must be
a multiple of the minimum stack alignment.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)