Changeset 8e76546 in rtems
- Timestamp:
- 03/06/96 21:26:28 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1a8fde6c
- Parents:
- ba39113
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/include/rtems/score/wkspace.h
rba39113 r8e76546 34 34 35 35 /* 36 * _Workspace_Handler_initialization37 *38 * DESCRIPTION:39 *40 * This routine performs the initialization necessary for this handler.41 */42 43 STATIC INLINE void _Workspace_Handler_initialization(44 void *starting_address,45 unsigned32 size46 );47 48 /*49 * _Workspace_Allocate50 *51 * DESCRIPTION:52 *53 * This routine returns the address of a block of memory of size54 * bytes. If a block of the appropriate size cannot be allocated55 * from the workspace, then NULL is returned.56 */57 58 STATIC INLINE void *_Workspace_Allocate(59 unsigned32 size60 );61 62 /*63 36 * _Workspace_Allocate_or_fatal_error 64 37 * … … 74 47 ); 75 48 76 /* 77 * _Workspace_Free 78 * 79 * DESCRIPTION: 80 * 81 * This function frees the specified block of memory. If the block 82 * belongs to the Workspace and can be successfully freed, then 83 * TRUE is returned. Otherwise FALSE is returned. 84 */ 85 86 STATIC INLINE boolean _Workspace_Free( 87 void *block 88 ); 89 49 #ifndef __RTEMS_APPLICATION__ 90 50 #include <rtems/score/wkspace.inl> 51 #endif 91 52 92 53 #ifdef __cplusplus -
cpukit/score/include/rtems/score/wkspace.h
rba39113 r8e76546 34 34 35 35 /* 36 * _Workspace_Handler_initialization37 *38 * DESCRIPTION:39 *40 * This routine performs the initialization necessary for this handler.41 */42 43 STATIC INLINE void _Workspace_Handler_initialization(44 void *starting_address,45 unsigned32 size46 );47 48 /*49 * _Workspace_Allocate50 *51 * DESCRIPTION:52 *53 * This routine returns the address of a block of memory of size54 * bytes. If a block of the appropriate size cannot be allocated55 * from the workspace, then NULL is returned.56 */57 58 STATIC INLINE void *_Workspace_Allocate(59 unsigned32 size60 );61 62 /*63 36 * _Workspace_Allocate_or_fatal_error 64 37 * … … 74 47 ); 75 48 76 /* 77 * _Workspace_Free 78 * 79 * DESCRIPTION: 80 * 81 * This function frees the specified block of memory. If the block 82 * belongs to the Workspace and can be successfully freed, then 83 * TRUE is returned. Otherwise FALSE is returned. 84 */ 85 86 STATIC INLINE boolean _Workspace_Free( 87 void *block 88 ); 89 49 #ifndef __RTEMS_APPLICATION__ 90 50 #include <rtems/score/wkspace.inl> 51 #endif 91 52 92 53 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.