source: rtems/cpukit/sapi/src/posixapi.c @ f58ef8ae

4.115
Last change on this file since f58ef8ae was 71c012af, checked in by Joel Sherrill <joel.sherrill@…>, on 07/04/10 at 14:53:47

2010-07-04 Joel Sherrill <joel.sherrill@…>

  • libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c, libcsupport/src/times.c, libcsupport/src/libio_init.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c, libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c, libcsupport/src/unmount.c, libfs/src/dosfs/fat.c, libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c, libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c, telnetd/telnetd.c: Remove include of assert.h when it is not needed.
  • Property mode set to 100644
File size: 2.2 KB
Line 
1/*
2 *  RTEMS API Initialization Support
3 *
4 *  NOTE:
5 *
6 *  COPYRIGHT (c) 1989-2010.
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 *  POSIX_API_INIT is defined so all of the POSIX API
22 *  data will be included in this object file.
23 */
24
25#define POSIX_API_INIT
26
27#include <rtems/system.h>    /* include this before checking RTEMS_POSIX_API */
28#ifdef RTEMS_POSIX_API
29
30#include <sys/types.h>
31#include <mqueue.h>
32#include <rtems/config.h>
33#include <rtems/score/object.h>
34#include <rtems/posix/barrier.h>
35#include <rtems/posix/cond.h>
36#include <rtems/posix/config.h>
37#include <rtems/posix/key.h>
38#include <rtems/posix/mqueue.h>
39#include <rtems/posix/mutex.h>
40#include <rtems/posix/posixapi.h>
41#include <rtems/posix/priority.h>
42#include <rtems/posix/psignal.h>
43#include <rtems/posix/pthread.h>
44#include <rtems/posix/rwlock.h>
45#include <rtems/posix/timer.h>
46#include <rtems/posix/semaphore.h>
47#include <rtems/posix/spinlock.h>
48#include <rtems/posix/time.h>
49
50/*PAGE
51 *
52 *  _POSIX_API_Initialize
53 *
54 *  XXX
55 */
56
57Objects_Information *_POSIX_Objects[ OBJECTS_POSIX_CLASSES_LAST + 1 ];
58
59void _POSIX_API_Initialize(void)
60{
61  /*
62   * If there are any type size assumptions in the POSIX API, this is
63   * the appropriate place to place them.
64   *
65   * Currently, there are no none type size assumptions.
66   */
67
68  /*
69   * Install our API Object Management Table and initialize the
70   * various managers.
71   */
72  _Objects_Information_table[OBJECTS_POSIX_API] = _POSIX_Objects;
73
74  _POSIX_signals_Manager_Initialization();
75  _POSIX_Threads_Manager_initialization();
76  _POSIX_Condition_variables_Manager_initialization();
77  _POSIX_Key_Manager_initialization();
78  _POSIX_Mutex_Manager_initialization();
79  _POSIX_Message_queue_Manager_initialization();
80  _POSIX_Semaphore_Manager_initialization();
81  _POSIX_Timer_Manager_initialization();
82  _POSIX_Barrier_Manager_initialization();
83  _POSIX_RWLock_Manager_initialization();
84  _POSIX_Spinlock_Manager_initialization();
85}
86
87#endif
88/* end of file */
Note: See TracBrowser for help on using the repository browser.