RTEMS
wkspace.h
Go to the documentation of this file.
1 
13 /*
14  * COPYRIGHT (c) 1989-2009.
15  * On-Line Applications Research Corporation (OAR).
16  *
17  * The license and distribution terms for this file may be
18  * found in the file LICENSE in this distribution or at
19  * http://www.rtems.org/license/LICENSE.
20  */
21 
22 #ifndef _RTEMS_SCORE_WKSPACE_H
23 #define _RTEMS_SCORE_WKSPACE_H
24 
25 #include <rtems/score/heap.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
49 
56 
67 void *_Workspace_Allocate( size_t size );
68 
80 void _Workspace_Free(
81  void *block
82 );
83 
94  const char *string,
95  size_t len
96 );
97 
100 #ifdef __cplusplus
101 }
102 #endif
103 
104 #endif
105 /* end of include file */
void _Workspace_Handler_initialization(void)
Initializes the workspace handler.
void _Workspace_Free(void *block)
Frees memory to the workspace.
Heap Handler API.
Heap_Control _Workspace_Area
Executive workspace control.
Definition: wkspace.c:43
void * _Workspace_Allocate(size_t size)
Allocates a memory block of the specified size from the workspace.
char * _Workspace_String_duplicate(const char *string, size_t len)
Duplicates string with memory from the workspace.
Control block used to manage a heap.
Definition: heap.h:318