39#ifndef _RTEMS_SCORE_STACK_H
40#define _RTEMS_SCORE_STACK_H
66#define STACK_MINIMUM_SIZE CPU_STACK_MINIMUM_SIZE
93typedef void *( *Stack_Allocator_allocate )(
size_t stack_size );
121typedef void *( *Stack_Allocator_allocate_for_idle )(
This header file provides basic definitions used by the API and the implementation.
char _Stack_Allocator_allocate_for_idle_storage_areas[]
The thread storage areas used by _Stack_Allocator_allocate_for_idle_static().
void(* Stack_Allocator_initialize)(size_t stack_space_size)
The stack allocator initialization handler.
Definition: stack.h:83
const Stack_Allocator_allocate_for_idle _Stack_Allocator_allocate_for_idle
The stack allocator allocate stack for idle thread handler.
void _Stack_Allocator_do_initialize(void)
Do the stack allocator initialization during system initialize.
Definition: stackallocatorinit.c:44
void * _Stack_Allocator_allocate_for_idle_workspace(uint32_t unused, size_t *storage_size)
Allocates the IDLE thread storage area from the workspace.
Definition: stackallocatorforidlewkspace.c:45
void *(* Stack_Allocator_allocate_for_idle)(uint32_t cpu, size_t *stack_size)
Stack allocator allocate for idle handler.
Definition: stack.h:121
const bool _Stack_Allocator_avoids_workspace
Indicates if the stack allocator avoids the workspace.
Definition: stackallocator.c:45
void *(* Stack_Allocator_allocate)(size_t stack_size)
Stack allocator allocate handler.
Definition: stack.h:93
const uintptr_t _Stack_Space_size
The configured stack space size.
const Stack_Allocator_allocate _Stack_Allocator_allocate
The stack allocator allocate handler.
Definition: stackallocator.c:47
void * _Stack_Allocator_allocate_for_idle_static(uint32_t cpu_index, size_t *storage_size)
Allocates the IDLE thread storage from the memory statically allocated by <rtems/confdefs....
Definition: stackallocatorforidle.c:44
const size_t _Stack_Allocator_allocate_for_idle_storage_size
The size in bytes of the idle thread storage area used by _Stack_Allocator_allocate_for_idle_static()...
const Stack_Allocator_free _Stack_Allocator_free
The stack allocator free handler.
Definition: stackallocatorfree.c:44
const Stack_Allocator_initialize _Stack_Allocator_initialize
The stack allocator initialization handler.
void(* Stack_Allocator_free)(void *addr)
Stack allocator free handler.
Definition: stack.h:100
uint32_t rtems_minimum_stack_size
The minimum stack size.
size_t size
Definition: stack.h:73
void * area
Definition: stack.h:75