1 | /* config.h |
---|
2 | * |
---|
3 | * This include file contains the table of user defined configuration |
---|
4 | * parameters specific for the ITRON API. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1998. |
---|
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 be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef __RTEMS_ITRON_CONFIGURATION_h |
---|
18 | #define __RTEMS_ITRON_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 | |
---|
35 | /* |
---|
36 | * For now, we are only allowing the user to specify the entry point |
---|
37 | * and stack size for ITRON initialization threads. |
---|
38 | */ |
---|
39 | |
---|
40 | typedef struct { |
---|
41 | ID id; |
---|
42 | T_CTSK attributes; |
---|
43 | } itron_initialization_tasks_table; |
---|
44 | |
---|
45 | typedef struct { |
---|
46 | int maximum_tasks; |
---|
47 | int maximum_semaphores; |
---|
48 | int maximum_eventflags; |
---|
49 | int maximum_mailboxes; |
---|
50 | int maximum_message_buffers; |
---|
51 | int maximum_ports; |
---|
52 | int maximum_memory_pools; |
---|
53 | int maximum_fixed_memory_pools; |
---|
54 | int number_of_initialization_tasks; |
---|
55 | itron_initialization_tasks_table *User_initialization_tasks_table; |
---|
56 | } itron_api_configuration_table; |
---|
57 | |
---|
58 | #ifdef __cplusplus |
---|
59 | } |
---|
60 | #endif |
---|
61 | |
---|
62 | #endif |
---|
63 | /* end of include file */ |
---|