1 | /* |
---|
2 | * POSIX API Initialization Support |
---|
3 | * |
---|
4 | * NOTE: |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-2008. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.com/license/LICENSE. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | #if HAVE_CONFIG_H |
---|
17 | #include "config.h" |
---|
18 | #endif |
---|
19 | |
---|
20 | /* |
---|
21 | * RTEMS_API_INIT is defined so all of the RTEMS API |
---|
22 | * data will be included in this object file. |
---|
23 | */ |
---|
24 | |
---|
25 | #define RTEMS_API_INIT |
---|
26 | |
---|
27 | #include <rtems/system.h> |
---|
28 | #include <rtems/rtems/status.h> |
---|
29 | #include <rtems/rtems/rtemsapi.h> |
---|
30 | |
---|
31 | #include <rtems/rtems/intr.h> |
---|
32 | #include <rtems/rtems/barrier.h> |
---|
33 | #include <rtems/rtems/clock.h> |
---|
34 | #include <rtems/rtems/tasks.h> |
---|
35 | #include <rtems/rtems/dpmem.h> |
---|
36 | #include <rtems/rtems/event.h> |
---|
37 | #include <rtems/rtems/message.h> |
---|
38 | #if defined(RTEMS_MULTIPROCESSING) |
---|
39 | #include <rtems/rtems/mp.h> |
---|
40 | #endif |
---|
41 | #include <rtems/rtems/part.h> |
---|
42 | #include <rtems/rtems/ratemon.h> |
---|
43 | #include <rtems/rtems/region.h> |
---|
44 | #include <rtems/rtems/sem.h> |
---|
45 | #include <rtems/rtems/signal.h> |
---|
46 | #include <rtems/rtems/timer.h> |
---|
47 | |
---|
48 | Objects_Information *_RTEMS_Objects[ OBJECTS_RTEMS_CLASSES_LAST + 1 ]; |
---|
49 | |
---|
50 | /*PAGE |
---|
51 | * |
---|
52 | * _RTEMS_API_Initialize |
---|
53 | * |
---|
54 | * XXX |
---|
55 | */ |
---|
56 | |
---|
57 | void _RTEMS_API_Initialize(void) |
---|
58 | { |
---|
59 | /* |
---|
60 | * Install our API Object Management Table and initialize the |
---|
61 | * various managers. |
---|
62 | */ |
---|
63 | _Objects_Information_table[OBJECTS_CLASSIC_API] = _RTEMS_Objects; |
---|
64 | |
---|
65 | #if defined(RTEMS_MULTIPROCESSING) |
---|
66 | _Multiprocessing_Manager_initialization(); |
---|
67 | #endif |
---|
68 | |
---|
69 | _RTEMS_tasks_Manager_initialization(); |
---|
70 | _Timer_Manager_initialization(); |
---|
71 | _Signal_Manager_initialization(); |
---|
72 | _Event_Manager_initialization(); |
---|
73 | _Message_queue_Manager_initialization(); |
---|
74 | _Semaphore_Manager_initialization(); |
---|
75 | _Partition_Manager_initialization(); |
---|
76 | _Region_Manager_initialization(); |
---|
77 | _Dual_ported_memory_Manager_initialization(); |
---|
78 | _Rate_monotonic_Manager_initialization(); |
---|
79 | _Barrier_Manager_initialization(); |
---|
80 | } |
---|
81 | |
---|
82 | /* end of file */ |
---|