mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-22 02:45:23 +00:00
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> |
||
---|---|---|
.. | ||
include | ||
atomic_c.c | ||
CMakeLists.txt | ||
compiler_stack_protect.c | ||
device.c | ||
errno.c | ||
fatal.c | ||
futex.c | ||
idle.c | ||
init.c | ||
Kconfig | ||
Kconfig.power_mgmt | ||
kheap.c | ||
mailbox.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool_sys.c | ||
mempool.c | ||
msg_q.c | ||
mutex.c | ||
pipes.c | ||
poll.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
stack.c | ||
system_work_q.c | ||
thread_abort.c | ||
thread.c | ||
timeout.c | ||
timer.c | ||
userspace_handler.c | ||
userspace.c | ||
version.c | ||
work_q.c |