21 #ifndef _RTEMS_SCORE_STACKIMPL_H 22 #define _RTEMS_SCORE_STACKIMPL_H 51 void *starting_address,
55 the_stack->
area = starting_address;
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)
RTEMS_INLINE_ROUTINE 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...
Definition: stackimpl.h:132
uintptr_t _TLS_Get_allocation_size(void)
Return the TLS area allocation size.
Definition: tlsallocsize.c:36
Information About the Thread Stack Handler.
Information About Each Thread's Context.
#define CONTEXT_FP_SIZE
Size of floating point context area.
Definition: context.h:52
RTEMS_INLINE_ROUTINE size_t _Stack_Ensure_minimum(size_t size)
Returns the appropriate stack size for the requested size.
Definition: stackimpl.h:114
void _Stack_Free(void *stack_area)
Free the stack area allocated by _Stack_Allocate().
Definition: threadstackfree.c:25
RTEMS_INLINE_ROUTINE bool _Stack_Is_enough(size_t size, bool is_fp)
Checks if the size is enough for a valid stack area on this processor.
Definition: stackimpl.h:84
size_t size
Definition: stack.h:55
uint32_t rtems_minimum_stack_size
The minimum stack size.
void * _Stack_Allocate(size_t stack_size)
Allocate the requested stack space.
Definition: threadstackallocate.c:25
RTEMS_INLINE_ROUTINE void _Stack_Initialize(Stack_Control *the_stack, void *starting_address, size_t size)
Initializes stack with the given starting address and size.
Definition: stackimpl.h:49
unsigned size
Definition: tte.h:74
void * area
Definition: stack.h:57
RTEMS_INLINE_ROUTINE uint32_t _Stack_Minimum(void)
Returns the minimum stack size.
Definition: stackimpl.h:67
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66