Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
thread_stack.h File Reference
#include <xtensa/config/core-isa.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/util.h>

Go to the source code of this file.

Data Structures

struct  xtensa_thread_stack_header
 

Macros

#define ARCH_STACK_PTR_ALIGN   16
 
#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)