source: rtems/cpukit/posix/include/rtems/posix/config.h @ f22ebf0

4.104.114.84.95
Last change on this file since f22ebf0 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*  config.h
2 *
3 *  This include file contains the table of user defined configuration
4 *  parameters specific for the POSIX API.
5 *
6 *  COPYRIGHT (c) 1989-1999.
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.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#ifndef __RTEMS_POSIX_CONFIGURATION_h
17#define __RTEMS_POSIX_CONFIGURATION_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*
24 *  XXX
25 *
26 *  The following records define the Configuration Table.  The
27 *  information contained in this table is required in all
28 *  RTEMS systems, whether single or multiprocessor.  This
29 *  table primarily defines the following:
30 *
31 *     + required number of each object type
32 */
33
34/*
35 *  For now, we are only allowing the user to specify the entry point
36 *  and stack size for POSIX initialization threads.
37 */
38
39typedef struct {
40  void       *(*thread_entry)(void *);
41  int       stack_size;
42} posix_initialization_threads_table;
43
44typedef struct {
45  int                                 maximum_threads;
46  int                                 maximum_mutexes;
47  int                                 maximum_condition_variables;
48  int                                 maximum_keys;
49  int                                 maximum_timers;
50  int                                 maximum_queued_signals;
51  int                                 maximum_message_queues;
52  int                                 maximum_semaphores;
53  int                                 number_of_initialization_threads;
54  posix_initialization_threads_table *User_initialization_threads_table;
55} posix_api_configuration_table;
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif
62/* end of include file */
Note: See TracBrowser for help on using the repository browser.