source: rtems/c/src/exec/sapi/src/extension.c @ ac97074f

4.104.114.84.95
Last change on this file since ac97074f was ac97074f, checked in by Joel Sherrill <joel.sherrill@…>, on 03/15/02 at 14:32:22

2001-03-15 Joel Sherrill <joel@…>

  • src/extension.c: Split to reduce minimum code size per PR134.
  • src/extensioncreate.c, src/extensiondelete.c, src/extensionident.c: New files. src/Makefile.am: Modified to reflect above.
  • Property mode set to 100644
File size: 998 bytes
Line 
1/*
2 *  Extension Manager
3 *
4 *
5 *  COPYRIGHT (c) 1989-2002.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#include <rtems/system.h>
16#include <rtems/rtems/support.h>
17#include <rtems/score/object.h>
18#include <rtems/score/thread.h>
19#include <rtems/extension.h>
20
21/*PAGE
22 *
23 *  _Extension_Manager_initialization
24 *
25 *  This routine initializes all extension manager related data structures.
26 *
27 *  Input parameters:
28 *    maximum_extensions - number of extensions to initialize
29 *
30 *  Output parameters:  NONE
31 */
32
33void _Extension_Manager_initialization(
34  unsigned32 maximum_extensions
35)
36{
37  _Objects_Initialize_information(
38    &_Extension_Information,
39    OBJECTS_RTEMS_EXTENSIONS,
40    FALSE,
41    maximum_extensions,
42    sizeof( Extension_Control ),
43    FALSE,
44    RTEMS_MAXIMUM_NAME_LENGTH,
45    FALSE
46  );
47}
Note: See TracBrowser for help on using the repository browser.