zephyr/arch/arm/include/cortex_m
Ioannis Glaropoulos 43a3593fce arch: arm: fix thread and interrupt stack start calculations
Based on the definition of _ARCH_THREAD_STACK_DEFINE() macro
for ARM, the MPU Stack Guard region is placed inside the
allocated stack object, only if
CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT and CONFIG_USERSPACE
are both set. For ARM stack objects, allocated using the
_ARCH_THREAD_STACK_DEFINE() macro, such as the threads' stacks
and the interrupt stack, the above must be reflected on how we
set the initial start of the stacks.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-03-05 08:26:40 -05:00
..
cmse.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
exc.h arch: arm: exc.h: MISRA C violation fix in _IsInIsr 2018-10-17 12:17:58 -04:00
stack.h arch: arm: fix thread and interrupt stack start calculations 2019-03-05 08:26:40 -05:00
tz.h arm: CONFIG_ARM_SAU -> CONFIG_CPU_HAS_ARM_SAU 2019-01-30 13:30:17 -05:00