20 #ifndef _RTEMS_SCORE_WKSPACE_H 21 #define _RTEMS_SCORE_WKSPACE_H Constants and Prototypes Related to the Internal Error Handler.
uintptr_t(* Heap_Initialization_or_extend_handler)(Heap_Control *heap, void *area_begin, uintptr_t area_size, uintptr_t page_size_or_unused)
Heap initialization and extend handler type.
Definition: heap.h:405
SCORE_EXTERN Heap_Control _Workspace_Area
Executive workspace control.
Definition: wkspace.h:46
Heap area structure for table based heap initialization and extension.
Definition: heap.h:391
void * _Workspace_Allocate_aligned(size_t size, size_t alignment)
Allocate aligned memory from workspace.
Definition: wkspace.c:164
void _Workspace_Handler_initialization(Heap_Area *areas, size_t area_count, Heap_Initialization_or_extend_handler extend)
Initilize workspace handler.
Definition: wkspace.c:54
Control block used to manage a heap.
Definition: heap.h:342
char * _Workspace_String_duplicate(const char *string, size_t len)
Duplicates string with memory from the workspace.
Definition: wkstringduplicate.c:31
void _Workspace_Free(void *block)
Free memory to the workspace.
Definition: wkspace.c:172
void * _Workspace_Allocate_or_fatal_error(size_t size)
Workspace allocate or fail with fatal error.
Definition: wkspace.c:187
#define SCORE_EXTERN
The following ensures that all data is declared in the space of the initialization routine for either...
Definition: basedefs.h:81
void * _Workspace_Allocate(size_t size)
Allocate memory from workspace.
Definition: wkspace.c:145