source: rtems/cpukit/sapi/src/rtemsapi.c @ 2bbea657

4.115
Last change on this file since 2bbea657 was 2bbea657, checked in by Sebastian Huber <sebastian.huber@…>, on 07/17/13 at 11:52:00

rtems: Create semaphore implementation header

Move implementation specific parts of sem.h and sem.inl into new header
file semimpl.h. The sem.h contains now only the application visible
API.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/**
2 * @file
3 *
4 * @brief Initializes the RTEMS API
5 *
6 * @ingroup ClassicRTEMS
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-2008.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.com/license/LICENSE.
16 */
17
18#if HAVE_CONFIG_H
19#include "config.h"
20#endif
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/barrier.h>
30#include <rtems/rtems/clock.h>
31#include <rtems/rtems/tasks.h>
32#include <rtems/rtems/dpmem.h>
33#include <rtems/rtems/event.h>
34#include <rtems/rtems/message.h>
35#if defined(RTEMS_MULTIPROCESSING)
36#include <rtems/rtems/mp.h>
37#endif
38#include <rtems/rtems/part.h>
39#include <rtems/rtems/ratemon.h>
40#include <rtems/rtems/region.h>
41#include <rtems/rtems/semimpl.h>
42#include <rtems/rtems/signal.h>
43#include <rtems/rtems/timer.h>
44
45Objects_Information *_RTEMS_Objects[ OBJECTS_RTEMS_CLASSES_LAST + 1 ];
46
47void _RTEMS_API_Initialize(void)
48{
49  /*
50   * Install our API Object Management Table and initialize the
51   * various managers.
52   */
53  _Objects_Information_table[OBJECTS_CLASSIC_API] = _RTEMS_Objects;
54
55  #if defined(RTEMS_MULTIPROCESSING)
56    _Multiprocessing_Manager_initialization();
57  #endif
58
59  _RTEMS_tasks_Manager_initialization();
60  _Timer_Manager_initialization();
61  _Signal_Manager_initialization();
62  _Event_Manager_initialization();
63  _Message_queue_Manager_initialization();
64  _Semaphore_Manager_initialization();
65  _Partition_Manager_initialization();
66  _Region_Manager_initialization();
67  _Dual_ported_memory_Manager_initialization();
68  _Rate_monotonic_Manager_initialization();
69  _Barrier_Manager_initialization();
70}
Note: See TracBrowser for help on using the repository browser.