URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 1026 |
Rev 1765 |
/* wkspace.inl
|
/* wkspace.inl
|
*
|
*
|
* This file contains the macro implementation of the inlined routines
|
* This file contains the macro implementation of the inlined routines
|
* from the RAM Workspace Handler.
|
* from the RAM Workspace Handler.
|
*
|
*
|
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-1999.
|
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
*
|
*
|
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
* http://www.OARcorp.com/rtems/license.html.
|
* http://www.OARcorp.com/rtems/license.html.
|
*
|
*
|
* wkspace.inl,v 1.11 1999/11/17 17:50:38 joel Exp
|
* wkspace.inl,v 1.11 1999/11/17 17:50:38 joel Exp
|
*/
|
*/
|
|
|
#ifndef __WORKSPACE_inl
|
#ifndef __WORKSPACE_inl
|
#define __WORKSPACE_inl
|
#define __WORKSPACE_inl
|
|
|
/*PAGE
|
/*PAGE
|
*
|
*
|
* _Workspace_Allocate
|
* _Workspace_Allocate
|
*
|
*
|
*/
|
*/
|
|
|
#define _Workspace_Allocate( _size ) \
|
#define _Workspace_Allocate( _size ) \
|
_Heap_Allocate( &_Workspace_Area, (_size) )
|
_Heap_Allocate( &_Workspace_Area, (_size) )
|
|
|
/*PAGE
|
/*PAGE
|
*
|
*
|
* _Workspace_Free
|
* _Workspace_Free
|
*
|
*
|
*/
|
*/
|
|
|
#define _Workspace_Free( _block ) \
|
#define _Workspace_Free( _block ) \
|
_Heap_Free( &_Workspace_Area, (_block) )
|
_Heap_Free( &_Workspace_Area, (_block) )
|
|
|
#endif
|
#endif
|
/* end of include file */
|
/* end of include file */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.