source: rtems/cpukit/posix/include/rtems/posix/config.h @ 7252caf2

4.104.115
Last change on this file since 7252caf2 was 7252caf2, checked in by Joel Sherrill <joel.sherrill@…>, on 12/17/08 at 22:12:01

2008-12-17 Joel Sherrill <joel.sherrill@…>

  • posix/include/rtems/posix/config.h: Fix typo.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1/**
2 * @file rtems/posix/config.h
3 *
4 *  This include file contains the table of user defined configuration
5 *  parameters specific for the POSIX API.
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2008.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 *
16 *  $Id$
17 */
18
19#ifndef _RTEMS_POSIX_CONFIG_H
20#define _RTEMS_POSIX_CONFIG_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26/*
27 *  XXX
28 *
29 *  The following records define the Configuration Table.  The
30 *  information contained in this table is required in all
31 *  RTEMS systems, whether single or multiprocessor.  This
32 *  table primarily defines the following:
33 *
34 *     + required number of each object type
35 */
36
37/*
38 *  For now, we are only allowing the user to specify the entry point
39 *  and stack size for POSIX initialization threads.
40 */
41
42typedef struct {
43  void       *(*thread_entry)(void *);
44  int       stack_size;
45} posix_initialization_threads_table;
46
47typedef struct {
48  int                                 maximum_threads;
49  int                                 maximum_mutexes;
50  int                                 maximum_condition_variables;
51  int                                 maximum_keys;
52  int                                 maximum_timers;
53  int                                 maximum_queued_signals;
54  int                                 maximum_message_queues;
55  int                                 maximum_semaphores;
56  int                                 maximum_barriers;
57  int                                 maximum_rwlocks;
58  int                                 maximum_spinlocks;
59  int                                 number_of_initialization_threads;
60  posix_initialization_threads_table *User_initialization_threads_table;
61} posix_api_configuration_table;
62
63/**
64 *  @brief POSIX API Configuration Table
65 *
66 *  This is the POSIX API Configuration Table expected to be generated
67 *  by confdefs.h.
68 */
69extern posix_api_configuration_table Configuration_POSIX_API;
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif
76/* end of include file */
Note: See TracBrowser for help on using the repository browser.