arch: increase priv stack with built-in stack-overflow checking

This commit increases the privilege stack size to 512 bytes,
when building with support for built-in stack-overflow checking.
This is in alignment with #10729, which increases the privilege
stack size when MPU-based stack guarding is enabled.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2018-10-26 10:43:26 +02:00 committed by Anas Nashif
commit c5da2e08c6

View file

@ -134,7 +134,7 @@ config USERSPACE
config PRIVILEGED_STACK_SIZE
int "Size of privileged stack"
default 512 if MPU_STACK_GUARD
default 512 if MPU_STACK_GUARD || BUILTIN_STACK_GUARD
default 384 if ARC
default 256
depends on ARCH_HAS_USERSPACE