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-1997. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * Copyright assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may in |
---|
11 | * the file LICENSE in this distribution or at |
---|
12 | * http://www.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef __RTEMS_RTEMS_CONFIGURATION_h |
---|
18 | #define __RTEMS_RTEMS_CONFIGURATION_h |
---|
19 | |
---|
20 | #ifdef __cplusplus |
---|
21 | extern "C" { |
---|
22 | #endif |
---|
23 | |
---|
24 | #include <rtems/rtems/types.h> |
---|
25 | #include <rtems/rtems/tasks.h> |
---|
26 | |
---|
27 | /* |
---|
28 | * The following records define the Configuration Table. The |
---|
29 | * information contained in this table is required in all |
---|
30 | * RTEMS systems, whether single or multiprocessor. This |
---|
31 | * table primarily defines the following: |
---|
32 | * |
---|
33 | * + required number of each object type |
---|
34 | */ |
---|
35 | |
---|
36 | typedef struct { |
---|
37 | unsigned32 maximum_tasks; |
---|
38 | unsigned32 maximum_timers; |
---|
39 | unsigned32 maximum_semaphores; |
---|
40 | unsigned32 maximum_message_queues; |
---|
41 | unsigned32 maximum_partitions; |
---|
42 | unsigned32 maximum_regions; |
---|
43 | unsigned32 maximum_ports; |
---|
44 | unsigned32 maximum_periods; |
---|
45 | unsigned32 number_of_initialization_tasks; |
---|
46 | rtems_initialization_tasks_table *User_initialization_tasks_table; |
---|
47 | } rtems_api_configuration_table; |
---|
48 | |
---|
49 | #ifdef __cplusplus |
---|
50 | } |
---|
51 | #endif |
---|
52 | |
---|
53 | #endif |
---|
54 | /* end of include file */ |
---|