1 | /* |
---|
2 | * RTEMS API Support |
---|
3 | * |
---|
4 | * NOTE: |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * All rights assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
12 | * notice must appear in all copies of this file and its derivatives. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #include <rtems/system.h> |
---|
18 | #include <rtems/rtems/status.h> |
---|
19 | #include <rtems/rtems/rtemsapi.h> |
---|
20 | |
---|
21 | #define INIT |
---|
22 | |
---|
23 | #include <rtems/rtems/intr.h> |
---|
24 | #include <rtems/rtems/clock.h> |
---|
25 | #include <rtems/rtems/tasks.h> |
---|
26 | #include <rtems/rtems/dpmem.h> |
---|
27 | #include <rtems/rtems/event.h> |
---|
28 | #include <rtems/rtems/message.h> |
---|
29 | #include <rtems/rtems/mp.h> |
---|
30 | #include <rtems/rtems/part.h> |
---|
31 | #include <rtems/rtems/ratemon.h> |
---|
32 | #include <rtems/rtems/region.h> |
---|
33 | #include <rtems/rtems/sem.h> |
---|
34 | #include <rtems/rtems/signal.h> |
---|
35 | #include <rtems/rtems/timer.h> |
---|
36 | |
---|
37 | /*PAGE |
---|
38 | * |
---|
39 | * _RTEMS_API_Initialize |
---|
40 | * |
---|
41 | * XXX |
---|
42 | */ |
---|
43 | |
---|
44 | void _RTEMS_API_Initialize( |
---|
45 | rtems_configuration_table *configuration_table |
---|
46 | ) |
---|
47 | { |
---|
48 | _Attributes_Handler_initialization(); |
---|
49 | |
---|
50 | _Interrupt_Manager_initialization(); |
---|
51 | |
---|
52 | _Multiprocessing_Manager_initialization(); |
---|
53 | |
---|
54 | _RTEMS_tasks_Manager_initialization( |
---|
55 | configuration_table->maximum_tasks, |
---|
56 | configuration_table->number_of_initialization_tasks, |
---|
57 | configuration_table->User_initialization_tasks_table |
---|
58 | ); |
---|
59 | |
---|
60 | _Timer_Manager_initialization( configuration_table->maximum_timers ); |
---|
61 | |
---|
62 | _Signal_Manager_initialization(); |
---|
63 | |
---|
64 | _Event_Manager_initialization(); |
---|
65 | |
---|
66 | _Message_queue_Manager_initialization( |
---|
67 | configuration_table->maximum_message_queues |
---|
68 | ); |
---|
69 | |
---|
70 | _Semaphore_Manager_initialization( |
---|
71 | configuration_table->maximum_semaphores |
---|
72 | ); |
---|
73 | |
---|
74 | _Partition_Manager_initialization( |
---|
75 | configuration_table->maximum_partitions |
---|
76 | ); |
---|
77 | |
---|
78 | _Region_Manager_initialization( configuration_table->maximum_regions ); |
---|
79 | |
---|
80 | _Dual_ported_memory_Manager_initialization( |
---|
81 | configuration_table->maximum_ports |
---|
82 | ); |
---|
83 | |
---|
84 | _Rate_monotonic_Manager_initialization( |
---|
85 | configuration_table->maximum_periods |
---|
86 | ); |
---|
87 | } |
---|
88 | |
---|
89 | /* end of file */ |
---|