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

4.115
Last change on this file since f68401e was a2e3f33, checked in by Sebastian Huber <sebastian.huber@…>, on 07/24/13 at 11:50:54

score: Create object implementation header

Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h. The object.h contains now only the
application visible API.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/**
2 * @file
3 *
4 * @brief Initialize Extension Manager
5 *
6 * @ingroup ClassicUserExtensions
7 */
8
9/*
10 *  Extension Manager
11 *
12 *  COPYRIGHT (c) 1989-2008.
13 *  On-Line Applications Research Corporation (OAR).
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.rtems.com/license/LICENSE.
18 */
19
20#if HAVE_CONFIG_H
21#include "config.h"
22#endif
23
24#include <rtems/system.h>
25#include <rtems/config.h>
26#include <rtems/rtems/support.h>
27#include <rtems/score/thread.h>
28#include <rtems/extensionimpl.h>
29
30void _Extension_Manager_initialization(void)
31{
32  _Objects_Initialize_information(
33    &_Extension_Information,
34    OBJECTS_CLASSIC_API,                 /* object API */
35    OBJECTS_RTEMS_EXTENSIONS,
36    rtems_configuration_get_maximum_extensions(),
37    sizeof( Extension_Control ),
38    false,                     /* true if the name is a string */
39    RTEMS_MAXIMUM_NAME_LENGTH  /* maximum length of an object name */
40#if defined(RTEMS_MULTIPROCESSING)
41    ,
42    false,                     /* true if this is a global object class */
43    NULL                       /* Proxy extraction support callout */
44#endif
45  );
46}
Note: See TracBrowser for help on using the repository browser.