1 | /** |
---|
2 | * @file rtems/itron/config.h |
---|
3 | */ |
---|
4 | |
---|
5 | /* config.h |
---|
6 | * |
---|
7 | * This include file contains the table of user defined configuration |
---|
8 | * parameters specific for the ITRON API. |
---|
9 | * |
---|
10 | * COPYRIGHT (c) 1989-1999. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.com/license/LICENSE. |
---|
16 | * |
---|
17 | * $Id$ |
---|
18 | */ |
---|
19 | |
---|
20 | #ifndef __RTEMS_ITRON_CONFIGURATION_h |
---|
21 | #define __RTEMS_ITRON_CONFIGURATION_h |
---|
22 | |
---|
23 | #ifdef __cplusplus |
---|
24 | extern "C" { |
---|
25 | #endif |
---|
26 | |
---|
27 | /* |
---|
28 | * XXX |
---|
29 | * |
---|
30 | * The following records define the Configuration Table. The |
---|
31 | * information contained in this table is required in all |
---|
32 | * RTEMS systems, whether single or multiprocessor. This |
---|
33 | * table primarily defines the following: |
---|
34 | * |
---|
35 | * + required number of each object type |
---|
36 | */ |
---|
37 | |
---|
38 | /* |
---|
39 | * For now, we are only allowing the user to specify the entry point |
---|
40 | * and stack size for ITRON initialization threads. |
---|
41 | */ |
---|
42 | |
---|
43 | typedef struct { |
---|
44 | ID id; |
---|
45 | T_CTSK attributes; |
---|
46 | } itron_initialization_tasks_table; |
---|
47 | |
---|
48 | typedef struct { |
---|
49 | int maximum_tasks; |
---|
50 | int maximum_semaphores; |
---|
51 | int maximum_eventflags; |
---|
52 | int maximum_mailboxes; |
---|
53 | int maximum_message_buffers; |
---|
54 | int maximum_ports; |
---|
55 | int maximum_memory_pools; |
---|
56 | int maximum_fixed_memory_pools; |
---|
57 | int number_of_initialization_tasks; |
---|
58 | itron_initialization_tasks_table *User_initialization_tasks_table; |
---|
59 | } itron_api_configuration_table; |
---|
60 | |
---|
61 | #ifdef __cplusplus |
---|
62 | } |
---|
63 | #endif |
---|
64 | |
---|
65 | #endif |
---|
66 | /* end of include file */ |
---|