[e6d4b1d] | 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, 1990, 1991, 1992, 1993, 1994. |
---|
| 7 | * On-Line Applications Research Corporation (OAR). |
---|
| 8 | * All rights assigned to U.S. Government, 1994. |
---|
| 9 | * |
---|
| 10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
| 11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
| 12 | * notice must appear in all copies of this file and its derivatives. |
---|
| 13 | * |
---|
| 14 | * $Id$ |
---|
| 15 | */ |
---|
| 16 | |
---|
| 17 | #ifndef __RTEMS_POSIX_CONFIGURATION_h |
---|
| 18 | #define __RTEMS_POSIX_CONFIGURATION_h |
---|
| 19 | |
---|
| 20 | #ifdef __cplusplus |
---|
| 21 | extern "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 | |
---|
| 40 | typedef struct { |
---|
| 41 | void *(*entry)(void *); |
---|
[dd32d883] | 42 | } posix_initialization_threads_table; |
---|
[e6d4b1d] | 43 | |
---|
| 44 | typedef struct { |
---|
[dd32d883] | 45 | int maximum_threads; |
---|
| 46 | int maximum_mutexes; |
---|
| 47 | int maximum_condition_variables; |
---|
| 48 | int maximum_keys; |
---|
[25a882a6] | 49 | int maximum_queued_signals; |
---|
[dd32d883] | 50 | int number_of_initialization_tasks; |
---|
| 51 | posix_initialization_threads_table *User_initialization_tasks_table; |
---|
[e6d4b1d] | 52 | } posix_api_configuration_table; |
---|
| 53 | |
---|
| 54 | #ifdef __cplusplus |
---|
| 55 | } |
---|
| 56 | #endif |
---|
| 57 | |
---|
| 58 | #endif |
---|
| 59 | /* end of include file */ |
---|