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 | |
---|
36 | void _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 | } |
---|