:orphan: .. title:: CONFIG_PRIVILEGED_STACK_SIZE .. kconfig:: CONFIG_PRIVILEGED_STACK_SIZE CONFIG_PRIVILEGED_STACK_SIZE ############################ *Size of privileged stack* Type: ``int`` Help ==== .. code-block:: none 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. Direct dependencies =================== (\ :kconfig:`COVERAGE ` && \ :kconfig:`BOARD_MPS2_AN385 `) || \ :kconfig:`ARM64 ` || \ :kconfig:`ARCH_HAS_USERSPACE ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 4096 - 4096 - 1024 Kconfig definitions =================== At ``/arm/mps2_an385/Kconfig.defconfig:55`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:22`` Menu path: (Top) .. code-block:: kconfig config PRIVILEGED_STACK_SIZE int default 4096 depends on COVERAGE && BOARD_MPS2_AN385 ---- At ``/arm64/core/Kconfig:88`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` → ``/Kconfig:12`` → ``/arm64/Kconfig:32`` Menu path: (Top) → ARM64 Options .. code-block:: kconfig config PRIVILEGED_STACK_SIZE int default 4096 depends on ARM64 ---- At ``/Kconfig:264`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:39`` Menu path: (Top) → General Architecture Options .. code-block:: kconfig 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.)*