21 #ifndef _RTEMS_SCORE_STACKIMPL_H 22 #define _RTEMS_SCORE_STACKIMPL_H 51 void *starting_address,
55 the_stack->
area = starting_address;
56 the_stack->
size = size;
94 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) 100 return ( size >= minimum );
137 #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) Thread-Local Storage (TLS)
uintptr_t _TLS_Get_allocation_size(void)
Return the TLS area allocation size.
Information About Each Thread's Context.
static __inline__ void _Stack_Initialize(Stack_Control *the_stack, void *starting_address, size_t size)
Initializes stack with the given starting address and size.
#define CONTEXT_FP_SIZE
Size of floating point context area.
void _Stack_Free(void *stack_area)
Free the stack area allocated by _Stack_Allocate().
static __inline__ uint32_t _Stack_Minimum(void)
Returns the minimum stack size.
void _Stack_Free_nothing(void *stack_area)
This function does nothing.
static __inline__ bool _Stack_Is_enough(size_t size, bool is_fp)
Checks if the size is enough for a valid stack area on this processor.
uint32_t rtems_minimum_stack_size
The minimum stack size.
void * _Stack_Allocate(size_t stack_size)
Allocate the requested stack space.
#define RTEMS_INLINE_ROUTINE
Gives a hint to the compiler in a function declaration to inline this function.
static __inline__ size_t _Stack_Ensure_minimum(size_t size)
Returns the appropriate stack size for the requested size.
Information About the Thread Stack Handler.
static __inline__ size_t _Stack_Extend_size(size_t stack_size, bool is_fp)
Extend the stack size to account for additional data structures allocated in the stack area of a thre...