zephyr/include/arch/nios2
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
..
arch.h kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
asm_inline.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
asm_inline_gcc.h arch/nios2: rearrange for standard use of extern "C" 2019-08-20 00:49:15 +02:00
linker.ld extensions.cmake: Replace TEXT_START with ROM_START 2020-01-23 03:22:59 -08:00
nios2.h include: arch: move bits_portable.h to arch/common 2019-06-03 21:09:24 -04:00
thread.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00