source: rtems/c/src/exec/posix/include/rtems/posix/config.h @ 16775a5

4.104.114.84.95
Last change on this file since 16775a5 was 16775a5, checked in by Joel Sherrill <joel.sherrill@…>, on 05/07/99 at 16:36:29

Patch from Jiri Gaisler <jgais@…> to allow stacksize
of POSIX Init thread to be user configured.

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[e6d4b1d]1/*  config.h
2 *
3 *  This include file contains the table of user defined configuration
4 *  parameters specific for the POSIX API.
5 *
[60b791ad]6 *  COPYRIGHT (c) 1989-1998.
[e6d4b1d]7 *  On-Line Applications Research Corporation (OAR).
[03f2154e]8 *  Copyright assigned to U.S. Government, 1994.
[e6d4b1d]9 *
[98e4ebf5]10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
[03f2154e]12 *  http://www.OARcorp.com/rtems/license.html.
[e6d4b1d]13 *
14 *  $Id$
15 */
16
17#ifndef __RTEMS_POSIX_CONFIGURATION_h
18#define __RTEMS_POSIX_CONFIGURATION_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
[e941ea13]35/*
36 *  For now, we are only allowing the user to specify the entry point
37 *  for posix initialization threads.
38 */
39
40typedef struct {
[a14d2af]41  void       *(*thread_entry)(void *);
[16775a5]42  int       stack_size;
[dd32d883]43} posix_initialization_threads_table;
[e6d4b1d]44
45typedef struct {
[dd32d883]46  int                                 maximum_threads;
47  int                                 maximum_mutexes;
48  int                                 maximum_condition_variables;
49  int                                 maximum_keys;
[0747e2d]50  int                                 maximum_timers;
[25a882a6]51  int                                 maximum_queued_signals;
[7f13a932]52  int                                 number_of_initialization_threads;
53  posix_initialization_threads_table *User_initialization_threads_table;
[e6d4b1d]54} posix_api_configuration_table;
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif
61/* end of include file */
Note: See TracBrowser for help on using the repository browser.