source: rtems/cpukit/sapi/src/rtemsapi.c @ f26145b

4.104.114.84.95
Last change on this file since f26145b was 16351f7a, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 28, 2005 at 2:04:21 AM

2005-01-28 Ralf Corsepius <ralf.corsepius@…>

  • sapi/src/debug.c, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/extensioncreate.c, sapi/src/extensiondelete.c, sapi/src/extensionident.c, sapi/src/fatal.c, sapi/src/io.c, sapi/src/itronapi.c, sapi/src/posixapi.c, sapi/src/rtemsapi.c: Include config.h.
  • Property mode set to 100644
File size: 2.4 KB
Line 
1/*
2 *  POSIX API Initialization Support
3 *
4 *  NOTE:
5 *
6 *  COPYRIGHT (c) 1989-1999.
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/clock.h>
33#include <rtems/rtems/tasks.h>
34#include <rtems/rtems/dpmem.h>
35#include <rtems/rtems/event.h>
36#include <rtems/rtems/message.h>
37#if defined(RTEMS_MULTIPROCESSING)
38#include <rtems/rtems/mp.h>
39#endif
40#include <rtems/rtems/part.h>
41#include <rtems/rtems/ratemon.h>
42#include <rtems/rtems/region.h>
43#include <rtems/rtems/sem.h>
44#include <rtems/rtems/signal.h>
45#include <rtems/rtems/timer.h>
46
47Objects_Information *_RTEMS_Objects[ OBJECTS_RTEMS_CLASSES_LAST + 1 ];
48
49/*PAGE
50 *
51 *  _RTEMS_API_Initialize
52 *
53 *  XXX
54 */
55
56void _RTEMS_API_Initialize(
57  rtems_configuration_table *configuration_table
58)
59{
60  rtems_api_configuration_table *api_configuration;
61
62  api_configuration = configuration_table->RTEMS_api_configuration;
63
64  _Objects_Information_table[OBJECTS_CLASSIC_API] = _RTEMS_Objects;
65
66  _Attributes_Handler_initialization();
67
68  _Interrupt_Manager_initialization();
69
70#if defined(RTEMS_MULTIPROCESSING)
71  _Multiprocessing_Manager_initialization();
72#endif
73
74  _RTEMS_tasks_Manager_initialization(
75    api_configuration->maximum_tasks,
76    api_configuration->number_of_initialization_tasks,
77    api_configuration->User_initialization_tasks_table
78  );
79
80  _Timer_Manager_initialization( api_configuration->maximum_timers );
81
82  _Signal_Manager_initialization();
83
84  _Event_Manager_initialization();
85
86  _Message_queue_Manager_initialization(
87    api_configuration->maximum_message_queues
88  );
89
90  _Semaphore_Manager_initialization( api_configuration->maximum_semaphores );
91
92  _Partition_Manager_initialization( api_configuration->maximum_partitions );
93
94  _Region_Manager_initialization( api_configuration->maximum_regions );
95
96  _Dual_ported_memory_Manager_initialization( api_configuration->maximum_ports);
97
98  _Rate_monotonic_Manager_initialization( api_configuration->maximum_periods );
99}
100
101/* end of file */
Note: See TracBrowser for help on using the repository browser.