zephyr/arch/x86
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
..
core kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
include kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
CMakeLists.txt x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
Kconfig x86: implement kernel page table isolation 2020-01-17 16:17:39 -05:00
gen_gdt.py scripts: Simplify code with sys.exit(<string>) 2019-09-08 12:34:16 +02:00
gen_idt.py x86: gen_idt.py: Use enumerate() to fix pylint warning 2019-09-10 15:53:49 +02:00
ia32.cmake arch/x86: remove support for IAMCU ABI 2019-09-07 10:07:42 -04:00
intel64.cmake arch/x86: initial Intel64 bootstrap framework 2019-09-15 11:33:47 +08:00