source: rtems/cpukit/posix/include/rtems/posix/config.h @ 047d67a

4.104.114.84.95
Last change on this file since 047d67a was 047d67a, checked in by Joel Sherrill <joel.sherrill@…>, on 11/15/06 at 14:08:49

2006-11-15 Joel Sherrill <joel.sherrill@…>

  • libcsupport/src/termios.c, posix/Makefile.am, posix/preinstall.am, posix/include/rtems/posix/config.h, posix/include/rtems/posix/time.h, sapi/src/posixapi.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/corerwlock.h, score/include/rtems/score/threadq.h, score/src/corerwlockobtainread.c, score/src/threadqenqueue.c, score/src/threadqtimeout.c: Adding POSIX barriers, POSIX spinlocks, and partial implementation of POSIX rwlocks.
  • posix/include/rtems/posix/barrier.h, posix/include/rtems/posix/rwlock.h, posix/include/rtems/posix/spinlock.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/spinlock.inl, posix/src/barrierattrdestroy.c, posix/src/barrierattrgetpshared.c, posix/src/barrierattrinit.c, posix/src/barrierattrsetpshared.c, posix/src/pbarrier.c, posix/src/pbarrierdestroy.c, posix/src/pbarrierinit.c, posix/src/pbarriertranslatereturncode.c, posix/src/pbarrierwait.c, posix/src/prwlock.c, posix/src/prwlockdestroy.c, posix/src/prwlockinit.c, posix/src/prwlockrdlock.c, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/prwlocktranslatereturncode.c, posix/src/prwlocktryrdlock.c, posix/src/prwlocktrywrlock.c, posix/src/prwlockunlock.c, posix/src/prwlockwrlock.c, posix/src/pspin.c, posix/src/pspindestroy.c, posix/src/pspininit.c, posix/src/pspinlock.c, posix/src/pspinlocktranslatereturncode.c, posix/src/pspintrylock.c, posix/src/pspinunlock.c, posix/src/rwlockattrdestroy.c, posix/src/rwlockattrgetpshared.c, posix/src/rwlockattrinit.c, posix/src/rwlockattrsetpshared.c: New files.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1/**
2 * @file rtems/posix/config.h
3 */
4
5/*  config.h
6 *
7 *  This include file contains the table of user defined configuration
8 *  parameters specific for the POSIX API.
9 *
10 *  COPYRIGHT (c) 1989-1999.
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 *  $Id$
18 */
19
20#ifndef _RTEMS_POSIX_CONFIG_H
21#define _RTEMS_POSIX_CONFIG_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*
28 *  XXX
29 *
30 *  The following records define the Configuration Table.  The
31 *  information contained in this table is required in all
32 *  RTEMS systems, whether single or multiprocessor.  This
33 *  table primarily defines the following:
34 *
35 *     + required number of each object type
36 */
37
38/*
39 *  For now, we are only allowing the user to specify the entry point
40 *  and stack size for POSIX initialization threads.
41 */
42
43typedef struct {
44  void       *(*thread_entry)(void *);
45  int       stack_size;
46} posix_initialization_threads_table;
47
48typedef struct {
49  int                                 maximum_threads;
50  int                                 maximum_mutexes;
51  int                                 maximum_condition_variables;
52  int                                 maximum_keys;
53  int                                 maximum_timers;
54  int                                 maximum_queued_signals;
55  int                                 maximum_message_queues;
56  int                                 maximum_semaphores;
57  int                                 maximum_barriers;
58  int                                 maximum_rwlocks;
59  int                                 maximum_spinlocks;
60  int                                 number_of_initialization_threads;
61  posix_initialization_threads_table *User_initialization_threads_table;
62} posix_api_configuration_table;
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif
69/* end of include file */
Note: See TracBrowser for help on using the repository browser.