5
Last change
on this file since 21275b58 was
e97806a,
checked in by Sebastian Huber <sebastian.huber@…>, on 10/14/18 at 17:20:05
|
posix: Split posix_api_configuration_table
Use separate configuration variables to avoid false dependencies.
Update #2514.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief User Defined Configuration Parameters Specific For The POSIX API |
---|
5 | * |
---|
6 | * This include file contains the table of user defined configuration |
---|
7 | * parameters specific for the POSIX API. |
---|
8 | */ |
---|
9 | |
---|
10 | /* |
---|
11 | * COPYRIGHT (c) 1989-2014. |
---|
12 | * On-Line Applications Research Corporation (OAR). |
---|
13 | * |
---|
14 | * The license and distribution terms for this file may be |
---|
15 | * found in the file LICENSE in this distribution or at |
---|
16 | * http://www.rtems.org/license/LICENSE. |
---|
17 | */ |
---|
18 | |
---|
19 | #ifndef _RTEMS_POSIX_CONFIG_H |
---|
20 | #define _RTEMS_POSIX_CONFIG_H |
---|
21 | |
---|
22 | #include <stdint.h> |
---|
23 | |
---|
24 | #ifdef __cplusplus |
---|
25 | extern "C" { |
---|
26 | #endif |
---|
27 | |
---|
28 | /** |
---|
29 | * @defgroup ClassicConfig Configuration |
---|
30 | * |
---|
31 | * @ingroup ClassicRTEMS |
---|
32 | * |
---|
33 | * This encapsulates functionality related to the application's configuration |
---|
34 | * of the Classic API including the maximum number of each class of objects. |
---|
35 | */ |
---|
36 | /**@{*/ |
---|
37 | |
---|
38 | /** |
---|
39 | * For now, we are only allowing the user to specify the entry point |
---|
40 | * and stack size for POSIX initialization threads. |
---|
41 | */ |
---|
42 | typedef struct { |
---|
43 | /** This is the entry point for a POSIX initialization thread. */ |
---|
44 | void *(*thread_entry)(void *); |
---|
45 | /** This is the stack size for a POSIX initialization thread. */ |
---|
46 | int stack_size; |
---|
47 | } posix_initialization_threads_table; |
---|
48 | |
---|
49 | extern posix_initialization_threads_table * const |
---|
50 | _Configuration_POSIX_Initialization_threads; |
---|
51 | |
---|
52 | extern const size_t _Configuration_POSIX_Initialization_thread_count; |
---|
53 | |
---|
54 | /**@}*/ |
---|
55 | #ifdef __cplusplus |
---|
56 | } |
---|
57 | #endif |
---|
58 | |
---|
59 | #endif |
---|
60 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.