source: rtems/cpukit/sapi/src/rtemsapi.c @ 52a0641

4.104.114.84.95
Last change on this file since 52a0641 was c627b2a3, checked in by Joel Sherrill <joel.sherrill@…>, on 05/28/96 at 21:40:52

split the inclusion of "EXTERN" data based on whether it was sapi,
score, rtems api, or posix api related.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1/*
2 *  POSIX API Initialization 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/*
18 *  RTEMS_API_INIT is defined so all of the RTEMS API
19 *  data will be included in this object file.
20 */
21
22#define RTEMS_API_INIT
23
24#include <rtems/system.h>
25#include <rtems/rtems/status.h>
26#include <rtems/rtems/rtemsapi.h>
27
28#include <rtems/rtems/intr.h>
29#include <rtems/rtems/clock.h>
30#include <rtems/rtems/tasks.h>
31#include <rtems/rtems/dpmem.h>
32#include <rtems/rtems/event.h>
33#include <rtems/rtems/message.h>
34#include <rtems/rtems/mp.h>
35#include <rtems/rtems/part.h>
36#include <rtems/rtems/ratemon.h>
37#include <rtems/rtems/region.h>
38#include <rtems/rtems/sem.h>
39#include <rtems/rtems/signal.h>
40#include <rtems/rtems/timer.h>
41
42/*PAGE
43 *
44 *  _RTEMS_API_Initialize
45 *
46 *  XXX
47 */
48
49void _RTEMS_API_Initialize(
50  rtems_configuration_table *configuration_table
51)
52{
53  rtems_api_configuration_table *api_configuration;
54
55  api_configuration = configuration_table->RTEMS_api_configuration;
56
57  _Attributes_Handler_initialization();
58 
59  _Interrupt_Manager_initialization();
60 
61  _Multiprocessing_Manager_initialization();
62 
63  _RTEMS_tasks_Manager_initialization(
64    api_configuration->maximum_tasks,
65    api_configuration->number_of_initialization_tasks,
66    api_configuration->User_initialization_tasks_table
67  );
68 
69  _Timer_Manager_initialization( api_configuration->maximum_timers );
70 
71  _Signal_Manager_initialization();
72 
73  _Event_Manager_initialization();
74 
75  _Message_queue_Manager_initialization(
76    api_configuration->maximum_message_queues
77  );
78 
79  _Semaphore_Manager_initialization( api_configuration->maximum_semaphores );
80 
81  _Partition_Manager_initialization( api_configuration->maximum_partitions );
82 
83  _Region_Manager_initialization( api_configuration->maximum_regions );
84 
85  _Dual_ported_memory_Manager_initialization( api_configuration->maximum_ports);
86 
87  _Rate_monotonic_Manager_initialization( api_configuration->maximum_periods );
88}
89
90/* end of file */
Note: See TracBrowser for help on using the repository browser.