1 | /* config.h |
---|
2 | * |
---|
3 | * This include file contains the table of user defined configuration |
---|
4 | * parameters specific for the RTEMS 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_RTEMS_CONFIGURATION_h |
---|
17 | #define __RTEMS_RTEMS_CONFIGURATION_h |
---|
18 | |
---|
19 | #ifdef __cplusplus |
---|
20 | extern "C" { |
---|
21 | #endif |
---|
22 | |
---|
23 | #include <rtems/rtems/types.h> |
---|
24 | #include <rtems/rtems/tasks.h> |
---|
25 | |
---|
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 | typedef struct { |
---|
36 | unsigned32 maximum_tasks; |
---|
37 | unsigned32 maximum_timers; |
---|
38 | unsigned32 maximum_semaphores; |
---|
39 | unsigned32 maximum_message_queues; |
---|
40 | unsigned32 maximum_partitions; |
---|
41 | unsigned32 maximum_regions; |
---|
42 | unsigned32 maximum_ports; |
---|
43 | unsigned32 maximum_periods; |
---|
44 | unsigned32 number_of_initialization_tasks; |
---|
45 | rtems_initialization_tasks_table *User_initialization_tasks_table; |
---|
46 | } rtems_api_configuration_table; |
---|
47 | |
---|
48 | #ifdef __cplusplus |
---|
49 | } |
---|
50 | #endif |
---|
51 | |
---|
52 | #endif |
---|
53 | /* end of include file */ |
---|