source: rtems/cpukit/sapi/src/extension.c @ f58ef8ae

4.115
Last change on this file since f58ef8ae was 790b50b, checked in by Joel Sherrill <joel.sherrill@…>, on 12/17/08 at 22:46:05

2008-12-17 Joel Sherrill <joel.sherrill@…>

  • sapi/include/rtems/extension.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c, score/include/rtems/score/mpci.h, score/include/rtems/score/object.h, score/include/rtems/score/thread.h, score/include/rtems/score/tod.h, score/include/rtems/score/userext.h, score/include/rtems/score/wkspace.h, score/src/coretod.c, score/src/mpci.c, score/src/object.c, score/src/thread.c, score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and SuperCore? Handler initialization routines to directly pull parameters from configuration table.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 *  Extension Manager
3 *
4 *  COPYRIGHT (c) 1989-2008.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <rtems/system.h>
19#include <rtems/config.h>
20#include <rtems/rtems/support.h>
21#include <rtems/score/object.h>
22#include <rtems/score/thread.h>
23#include <rtems/extension.h>
24
25/*PAGE
26 *
27 *  _Extension_Manager_initialization
28 *
29 *  This routine initializes all extension manager related data structures.
30 *
31 *  Input parameters:   NONE
32 *
33 *  Output parameters:  NONE
34 */
35
36void _Extension_Manager_initialization(void)
37{
38  _Objects_Initialize_information(
39    &_Extension_Information,
40    OBJECTS_CLASSIC_API,                 /* object API */
41    OBJECTS_RTEMS_EXTENSIONS,
42    Configuration.maximum_extensions,
43    sizeof( Extension_Control ),
44    false,                     /* true if the name is a string */
45    RTEMS_MAXIMUM_NAME_LENGTH  /* maximum length of an object name */
46#if defined(RTEMS_MULTIPROCESSING)
47    ,
48    false,                     /* true if this is a global object class */
49    NULL                       /* Proxy extraction support callout */
50#endif
51  );
52}
Note: See TracBrowser for help on using the repository browser.