blob: 27a20e68e89c60599ff6e0c0b07ea6a129ab841b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* wkspace.inl
*
* This file contains the macro implementation of the inlined routines
* from the RAM Workspace Handler.
*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#ifndef _RTEMS_SCORE_WKSPACE_INL
#define _RTEMS_SCORE_WKSPACE_INL
/*PAGE
*
* _Workspace_Allocate
*
*/
#define _Workspace_Allocate( _size ) \
_Heap_Allocate( &_Workspace_Area, (_size) )
/*PAGE
*
* _Workspace_Free
*
*/
#define _Workspace_Free( _block ) \
_Heap_Free( &_Workspace_Area, (_block) )
#endif
/* end of include file */
|