source: rtems/cpukit/posix/include/rtems/posix/config.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 2.2 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
17#ifndef _RTEMS_POSIX_CONFIG_H
18#define _RTEMS_POSIX_CONFIG_H
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24/*
25 *  XXX
26 *
27 *  The following records define the Configuration Table.  The
28 *  information contained in this table is required in all
29 *  RTEMS systems, whether single or multiprocessor.  This
30 *  table primarily defines the following:
31 *
32 *     + required number of each object type
33 */
34
35/*
36 *  For now, we are only allowing the user to specify the entry point
37 *  and stack size for POSIX initialization threads.
38 */
39
40typedef struct {
41  void       *(*thread_entry)(void *);
42  int       stack_size;
43} posix_initialization_threads_table;
44
45typedef struct {
46  uint32_t                            maximum_threads;
47  uint32_t                            maximum_mutexes;
48  uint32_t                            maximum_condition_variables;
49  uint32_t                            maximum_keys;
50  uint32_t                            maximum_timers;
51  uint32_t                            maximum_queued_signals;
52  uint32_t                            maximum_message_queues;
53  uint32_t                            maximum_message_queue_descriptors;
54  uint32_t                            maximum_semaphores;
55  uint32_t                            maximum_barriers;
56  uint32_t                            maximum_rwlocks;
57  uint32_t                            maximum_spinlocks;
58  uint32_t                            number_of_initialization_threads;
59  posix_initialization_threads_table *User_initialization_threads_table;
60} posix_api_configuration_table;
61
62/**
63 *  @brief POSIX API Configuration Table
64 *
65 *  This is the POSIX API Configuration Table expected to be generated
66 *  by confdefs.h.
67 */
68extern posix_api_configuration_table Configuration_POSIX_API;
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif
75/* end of include file */
Note: See TracBrowser for help on using the repository browser.