Zephyr API Documentation 4.0.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)
 
#define ARCH_THREAD_STACK_SIZE_ADJUST(size)
 
#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)
Value:
XTENSA_STACK_BASE_ALIGN

◆ ARCH_THREAD_STACK_SIZE_ADJUST

#define ARCH_THREAD_STACK_SIZE_ADJUST ( size)
Value:
ROUND_UP((size), XTENSA_STACK_SIZE_ALIGN)
#define ROUND_UP(x, align)
Value of x rounded up to the next multiple of align.
Definition util.h:322