Zephyr API Documentation  3.6.0
A Scalable Open Source RTOS
3.6.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
thread_stack.h File Reference
#include <xtensa/config/core-isa.h>
#include <zephyr/toolchain.h>

Go to the source code of this file.

Macros

#define ARCH_STACK_PTR_ALIGN   16
 
#define XTENSA_STACK_BASE_ALIGN   CONFIG_MMU_PAGE_SIZE
 
#define XTENSA_STACK_SIZE_ALIGN   CONFIG_MMU_PAGE_SIZE
 
#define ARCH_THREAD_STACK_OBJ_ALIGN(size)   XTENSA_STACK_BASE_ALIGN
 
#define ARCH_THREAD_STACK_SIZE_ADJUST(size)    ROUND_UP((size), XTENSA_STACK_SIZE_ALIGN)
 
#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   16

◆ ARCH_THREAD_STACK_OBJ_ALIGN

#define ARCH_THREAD_STACK_OBJ_ALIGN (   size)    XTENSA_STACK_BASE_ALIGN

◆ ARCH_THREAD_STACK_SIZE_ADJUST

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

◆ XTENSA_STACK_BASE_ALIGN

#define XTENSA_STACK_BASE_ALIGN   CONFIG_MMU_PAGE_SIZE

◆ XTENSA_STACK_SIZE_ALIGN

#define XTENSA_STACK_SIZE_ALIGN   CONFIG_MMU_PAGE_SIZE