source: rtems/cpukit/score/src/wkspace.c @ 63edbb3f

4.104.114.84.95
Last change on this file since 63edbb3f was 63edbb3f, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 22, 1995 at 4:57:18 PM

Fixed missing RCS Ids

  • Property mode set to 100644
File size: 814 bytes
Line 
1/*
2 *  Workspace Handler
3 *
4 *  XXX
5 *
6 *  NOTE:
7 *
8 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
9 *  On-Line Applications Research Corporation (OAR).
10 *  All rights assigned to U.S. Government, 1994.
11 *
12 *  This material may be reproduced by or for the U.S. Government pursuant
13 *  to the copyright license under the clause at DFARS 252.227-7013.  This
14 *  notice must appear in all copies of this file and its derivatives.
15 *
16 *  $Id$
17 */
18
19#include <rtems/system.h>
20#include <rtems/wkspace.h>
21#include <rtems/fatal.h>
22
23/*PAGE
24 *
25 *  _Workspace_Allocate_or_fatal_error
26 *
27 */
28
29void *_Workspace_Allocate_or_fatal_error(
30  unsigned32   size
31)
32{
33  void        *memory;
34
35  memory = _Workspace_Allocate( size );
36
37  if ( memory == NULL )
38    rtems_fatal_error_occurred( RTEMS_UNSATISFIED );
39
40  return memory;
41}
Note: See TracBrowser for help on using the repository browser.