36 static uintptr_t _TLS_Allocation_size;
41 uintptr_t allocation_size;
50 allocation_size = _TLS_Allocation_size;
52 if ( allocation_size == 0 ) {
61 allocation_size += alignment;
78 _TLS_Allocation_size = allocation_size;
81 return allocation_size;
Thread-Local Storage (TLS)
Constants and Prototypes Related to the Internal Error Handler.
uintptr_t _TLS_Get_allocation_size(void)
Return the TLS area allocation size.
const size_t _Thread_Maximum_TLS_size
If this constant is greater than zero, then it defines the maximum thread-local storage size...
char _TLS_Alignment[]
The TLS section alignment.
static uintptr_t _TLS_Get_size(void)
Gets the TLS size.
#define CPU_HEAP_ALIGNMENT
void _Internal_error(Internal_errors_Core_list core_error) RTEMS_NO_RETURN
Terminates the system with an INTERNAL_ERROR_CORE fatal source and the specified core error code...
static uintptr_t _TLS_Heap_align_up(uintptr_t val)
Returns the value aligned up to the heap alignment.
Constants and Structures Related with the Thread Control Block.
static uintptr_t _TLS_Get_thread_control_block_area_size(uintptr_t alignment)
Returns the size of the thread control block area size for this alignment, or the minimum size if ali...