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.rtems.com/license/LICENSE. |
---|
11 | * |
---|
12 | * $Id$ |
---|
13 | */ |
---|
14 | |
---|
15 | #if HAVE_CONFIG_H |
---|
16 | #include "config.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | #include <rtems/system.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: |
---|
32 | * maximum_extensions - number of extensions to initialize |
---|
33 | * |
---|
34 | * Output parameters: NONE |
---|
35 | */ |
---|
36 | |
---|
37 | void _Extension_Manager_initialization( |
---|
38 | uint32_t maximum_extensions |
---|
39 | ) |
---|
40 | { |
---|
41 | _Objects_Initialize_information( |
---|
42 | &_Extension_Information, |
---|
43 | OBJECTS_CLASSIC_API, /* object API */ |
---|
44 | OBJECTS_RTEMS_EXTENSIONS, |
---|
45 | maximum_extensions, |
---|
46 | sizeof( Extension_Control ), |
---|
47 | FALSE, /* TRUE if the name is a string */ |
---|
48 | RTEMS_MAXIMUM_NAME_LENGTH /* maximum length of an object name */ |
---|
49 | #if defined(RTEMS_MULTIPROCESSING) |
---|
50 | , |
---|
51 | FALSE, /* TRUE if this is a global object class */ |
---|
52 | NULL /* Proxy extraction support callout */ |
---|
53 | #endif |
---|
54 | ); |
---|
55 | } |
---|