zephyr/arch/arm/include
Ioannis Glaropoulos 5a709f5dc9 kernel: init: use K_THREAD_STACK_SIZEOF when switching to main thread
For architectures with custom swap to main, currently:
- arm
- posix
we are now using K_THREAD_STACK_SIZEOF macro to pass the
main thread stack size to z_arch_switch_to_main_thread().

This does not introduce any behavioral changes for posix;
the K_THREAD_STACK_SIZEOF() simply returns the sizeof()
the stack object. For Arm, this allows us to clean-up one
more occurence of CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT
in kernel_arch_func.h.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-05-24 13:12:55 -04:00
..
cortex_m arch: arm: remove redundant definitions of typeof 2019-05-20 08:05:17 -05:00
kernel_arch_data.h arch: arm: add internal structure to ESF 2019-05-07 19:21:46 -04:00
kernel_arch_func.h kernel: init: use K_THREAD_STACK_SIZEOF when switching to main thread 2019-05-24 13:12:55 -04:00
kernel_arch_thread.h arch: arm: extend use of arch.mode variable in FP sharing mode 2019-05-21 15:29:44 -04:00
offsets_short_arch.h arch: arm: extend use of arch.mode variable in FP sharing mode 2019-05-21 15:29:44 -04:00