zephyr/arch/x86/core
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
..
ia32 kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
intel64 kernel: centralize new thread priority check 2020-04-21 18:45:45 -04:00
offsets x86: implement kernel page table isolation 2020-01-17 16:17:39 -05:00
CMakeLists.txt global: Fix up leading/trailing blank lines in files 2020-01-27 17:41:55 -06:00
Kconfig.ia32
Kconfig.intel64 kernel: remove unused offload workqueue option 2020-04-12 18:42:27 -04:00
acpi.c
common.S
cpuhalt.c tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
early_serial.c arch: x86: Convert to new DT_INST macros 2020-03-26 03:29:23 -05:00
fatal.c kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
ia32.cmake
intel64.cmake
memmap.c
multiboot.c
pcie.c
prep_c.c kernel: interrupt/idle stacks/threads as array 2020-03-16 23:17:36 +02:00
reboot_rst_cnt.c
spec_ctrl.c
userspace.c kernel: add Z_STACK_PTR_ALIGN ARCH_STACK_PTR_ALIGN 2020-04-21 18:45:45 -04:00
x86_mmu.c x86: implement kernel page table isolation 2020-01-17 16:17:39 -05:00