Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
thread_stack.h File Reference

Go to the source code of this file.

Macros

#define ARCH_STACK_PTR_ALIGN   4UL
 
#define ARCH_THREAD_STACK_OBJ_ALIGN(size)   Z_X86_STACK_BASE_ALIGN
 
#define ARCH_THREAD_STACK_SIZE_ADJUST(size)    ROUND_UP((size), Z_X86_STACK_SIZE_ALIGN)
 
#define ARCH_THREAD_STACK_RESERVED    sizeof(struct z_x86_thread_stack_header)
 
#define ARCH_KERNEL_STACK_RESERVED   0
 
#define ARCH_KERNEL_STACK_OBJ_ALIGN   ARCH_STACK_PTR_ALIGN
 

Macro Definition Documentation

◆ ARCH_KERNEL_STACK_OBJ_ALIGN

#define ARCH_KERNEL_STACK_OBJ_ALIGN   ARCH_STACK_PTR_ALIGN

◆ ARCH_KERNEL_STACK_RESERVED

#define ARCH_KERNEL_STACK_RESERVED   0

◆ ARCH_STACK_PTR_ALIGN

#define ARCH_STACK_PTR_ALIGN   4UL

◆ ARCH_THREAD_STACK_OBJ_ALIGN

#define ARCH_THREAD_STACK_OBJ_ALIGN (   size)    Z_X86_STACK_BASE_ALIGN

◆ ARCH_THREAD_STACK_RESERVED

#define ARCH_THREAD_STACK_RESERVED    sizeof(struct z_x86_thread_stack_header)

◆ ARCH_THREAD_STACK_SIZE_ADJUST

#define ARCH_THREAD_STACK_SIZE_ADJUST (   size)     ROUND_UP((size), Z_X86_STACK_SIZE_ALIGN)