zephyr/include/arch/arm
Andrew Boie 618426d6e7 kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN
This operation is formally defined as rounding down a potential
stack pointer value to meet CPU and ABI requirments.

This was previously defined ad-hoc as STACK_ROUND_DOWN().

A new architecture constant ARCH_STACK_PTR_ALIGN is added.
Z_STACK_PTR_ALIGN() is defined in terms of it. This used to
be inconsistently specified as STACK_ALIGN or STACK_PTR_ALIGN;
in the latter case, STACK_ALIGN meant something else, typically
a required alignment for the base of a stack buffer.

STACK_ROUND_UP() only used in practice by Risc-V, delete
elsewhere.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-04-21 18:45:45 -04:00
..
aarch32 kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
aarch64 kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
cortex_m aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
cortex_r arch: arm: aarch32: Rename cortex_r to cortex_a_r 2020-03-26 11:20:36 +01:00
arch.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
asm_inline_gcc.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
asm_inline.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
error.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
exc.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
irq.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
misc.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
nmi.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
syscall.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00
thread.h aarch32: Add header shims to support old file locations 2019-12-20 11:40:59 -05:00