source: rtems/c/src/exec/sapi/include/confdefs.h @ 43908825

4.104.114.84.9
Last change on this file since 43908825 was 43908825, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 18, 1998 at 5:24:56 PM

Changed to account for libio's maximum_semaphores as well as its
memory requirements.

Also added variable to tell libio how many file descriptors to allocate.

  • Property mode set to 100644
File size: 16.2 KB
Line 
1/*  confdefs.h
2 *
3 *  This include file contains the configuration table template that will
4 *  be used by the single processor tests to define its default configuration
5 *  parameters.
6 *
7 *  COPYRIGHT (c) 1989-1998.
8 *  On-Line Applications Research Corporation (OAR).
9 *  Copyright assigned to U.S. Government, 1994.
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.OARcorp.com/rtems/license.html.
14 *
15 *  $Id$
16 */
17
18#ifndef __CONFIGURATION_TEMPLATE_h
19#define __CONFIGURATION_TEMPLATE_h
20 
21#ifdef __cplusplus
22extern "C" {
23#endif
24 
25extern rtems_initialization_tasks_table Initialization_tasks[];
26extern rtems_driver_address_table       Device_drivers[];
27extern rtems_configuration_table        Configuration;
28extern rtems_multiprocessing_table      Multiprocessing_configuration;
29#ifdef RTEMS_POSIX_API
30extern posix_api_configuration_table    Configuration_POSIX_API;
31#endif
32
33/*
34 *  RTEMS C Library and Newlib support
35 *
36 *  NOTE:  This ends up defining these even when newlib is not used.
37 */
38
39#define CONFIGURE_NEWLIB_EXTENSION 1
40#define CONFIGURE_MALLOC_REGION 1
41
42#ifndef CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
43#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
44#endif
45
46#define CONFIGURE_LIBIO_SEMAPHORES \
47  (CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS + 1)
48
49#ifdef CONFIGURE_INIT
50unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
51#endif
52
53/*
54 *  Stack Checker Requirements
55 */
56
57#ifdef STACK_CHECKER_ON
58#define CONFIGURE_STACK_CHECKER_EXTENSION 1
59#else
60#define CONFIGURE_STACK_CHECKER_EXTENSION 0
61#endif
62
63/*
64 *  Interrupt Stack Space
65 */
66
67#if (CPU_ALLOCATE_INTERRUPT_STACK)
68#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE
69#else
70#define CONFIGURE_INTERRUPT_STACK_MEMORY 0
71#endif
72
73/*
74 *  Default User Initialization Task Table.  This table guarantees that
75 *  one user initialization table is defined.
76 */
77
78#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
79
80#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
81
82/*
83 *  The user is defining their own table information and setting the
84 *  appropriate variables.
85 */
86
87#else
88
89#ifndef CONFIGURE_INIT_TASK_NAME
90#define CONFIGURE_INIT_TASK_NAME          rtems_build_name( 'U', 'I', '1', ' ' )
91#endif
92
93#ifndef CONFIGURE_INIT_TASK_STACK_SIZE
94#define CONFIGURE_INIT_TASK_STACK_SIZE    RTEMS_MINIMUM_STACK_SIZE
95#endif
96
97#ifndef CONFIGURE_INIT_TASK_PRIORITY
98#define CONFIGURE_INIT_TASK_PRIORITY      1
99#endif
100
101#ifndef CONFIGURE_INIT_TASK_ATTRIBUTES
102#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_DEFAULT_ATTRIBUTES
103#endif
104
105#ifndef CONFIGURE_INIT_TASK_ENTRY_POINT
106#define CONFIGURE_INIT_TASK_ENTRY_POINT   Init
107#endif
108
109#ifndef CONFIGURE_INIT_TASK_INITIAL_MODES
110#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_NO_PREEMPT
111#endif
112
113#ifndef CONFIGURE_INIT_TASK_ARGUMENTS
114#define CONFIGURE_INIT_TASK_ARGUMENTS     0
115#endif
116
117#ifdef CONFIGURE_INIT
118rtems_initialization_tasks_table Initialization_tasks[] = {
119  { CONFIGURE_INIT_TASK_NAME,
120    CONFIGURE_INIT_TASK_STACK_SIZE,
121    CONFIGURE_INIT_TASK_PRIORITY,
122    CONFIGURE_INIT_TASK_ATTRIBUTES,
123    CONFIGURE_INIT_TASK_ENTRY_POINT,
124    CONFIGURE_INIT_TASK_INITIAL_MODES,
125    CONFIGURE_INIT_TASK_ARGUMENTS
126  }
127};
128#endif
129
130#define CONFIGURE_INIT_TASK_TABLE Initialization_tasks
131
132#define CONFIGURE_INIT_TASK_TABLE_SIZE \
133  sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
134
135#endif    /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
136
137#else     /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
138
139#define CONFIGURE_INIT_TASK_TABLE      NULL
140#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
141
142#endif
143
144/*
145 *  Default Device Driver Table.  Each driver needed by the test is explicitly
146 *  choosen by that test.  There is always a null driver entry.
147 */
148
149#define NULL_DRIVER_TABLE_ENTRY \
150 { NULL, NULL, NULL, NULL, NULL, NULL }
151
152#ifdef CONFIGURE_TEST_NEEDS_TIMER_DRIVER
153#include <timerdrv.h>
154#endif
155
156#ifdef CONFIGURE_TEST_NEEDS_STUB_DRIVER
157#include <stubdrv.h>
158#endif
159
160#ifndef CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE
161
162#ifdef CONFIGURE_INIT
163rtems_driver_address_table Device_drivers[] = {
164#ifdef CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
165  CONSOLE_DRIVER_TABLE_ENTRY,
166#endif
167#ifdef CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
168  CLOCK_DRIVER_TABLE_ENTRY,
169#endif
170#ifdef CONFIGURE_TEST_NEEDS_STUB_DRIVER
171  STUB_DRIVER_TABLE_ENTRY,
172#endif
173  NULL_DRIVER_TABLE_ENTRY
174};
175#endif
176
177#endif  /* CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE */
178
179/*
180 *  Default the number of devices per device driver.  This value may be
181 *  overridden by the user.
182 */
183
184#ifndef CONFIGURE_HAS_OWN_NUMBER_OF_DEVICES
185
186#ifndef CONFIGURE_MAXIMUM_DEVICES
187#define CONFIGURE_MAXIMUM_DEVICES   20
188#endif
189
190#endif /* CONFIGURE_HAS_OWN_NUMBER_OF_DEVICES */
191
192/*
193 *  Default Configuration Table.  This table contains the most values set in
194 *  the RTEMS Test Suite.  Each value may be overridden within each test to
195 *  customize the environment.
196 */
197
198#ifdef CONFIGURE_MPTEST
199#ifndef CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE
200
201#ifndef CONFIGURE_MP_NODE_NUMBER
202#define CONFIGURE_MP_NODE_NUMBER                NODE_NUMBER
203#endif
204
205#ifndef CONFIGURE_MP_MAXIMUM_NODES
206#define CONFIGURE_MP_MAXIMUM_NODES              2
207#endif
208
209#ifndef CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS
210#define CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS     32
211#endif
212
213#ifndef CONFIGURE_MP_MAXIMUM_PROXIES
214#define CONFIGURE_MP_MAXIMUM_PROXIES            32
215#endif
216
217#ifndef CONFIGURE_MP_MPCI_TABLE_POINTER
218#include <mpci.h>
219#define CONFIGURE_MP_MPCI_TABLE_POINTER         &MPCI_table
220#endif
221
222#ifdef CONFIGURE_INIT
223rtems_multiprocessing_table Multiprocessing_configuration = {
224  CONFIGURE_MP_NODE_NUMBER,              /* local node number */
225  CONFIGURE_MP_MAXIMUM_NODES,            /* maximum # nodes in system */
226  CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS,   /* maximum # global objects */
227  CONFIGURE_MP_MAXIMUM_PROXIES,          /* maximum # proxies */
228  CONFIGURE_MP_MPCI_TABLE_POINTER        /* pointer to MPCI config table */
229};
230#endif
231
232#define CONFIGURE_MULTIPROCESSING_TABLE    &Multiprocessing_configuration
233
234#endif /* CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE */
235
236#else
237
238#define CONFIGURE_MULTIPROCESSING_TABLE    NULL
239
240#endif /* CONFIGURE_MPTEST */
241 
242/*
243 *  Default Configuration Table.  This table contains the most values set in
244 *  the RTEMS Test Suite.  Each value may be overridden within each test to
245 *  customize the environment.
246 */
247
248#ifndef CONFIGURE_HAS_OWN_CONFIGURATION_TABLE
249 
250#ifndef CONFIGURE_EXECUTIVE_RAM_WORK_AREA
251#define CONFIGURE_EXECUTIVE_RAM_WORK_AREA     NULL
252#endif
253
254#ifndef CONFIGURE_MAXIMUM_TASKS
255#define CONFIGURE_MAXIMUM_TASKS               10
256#endif
257
258#ifndef CONFIGURE_MAXIMUM_TIMERS
259#define CONFIGURE_MAXIMUM_TIMERS              0
260#endif
261
262#ifndef CONFIGURE_MAXIMUM_SEMAPHORES
263#define CONFIGURE_MAXIMUM_SEMAPHORES          0
264#endif
265
266#ifndef CONFIGURE_MAXIMUM_MESSAGE_QUEUES
267#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      0
268#endif
269
270#ifndef CONFIGURE_MAXIMUM_PARTITIONS
271#define CONFIGURE_MAXIMUM_PARTITIONS          0
272#endif
273
274#ifndef CONFIGURE_MAXIMUM_REGIONS
275#define CONFIGURE_MAXIMUM_REGIONS             0
276#endif
277
278#ifndef CONFIGURE_MAXIMUM_PORTS
279#define CONFIGURE_MAXIMUM_PORTS               0
280#endif
281
282#ifndef CONFIGURE_MAXIMUM_PERIODS
283#define CONFIGURE_MAXIMUM_PERIODS             0
284#endif
285
286#ifndef CONFIGURE_MAXIMUM_USER_EXTENSIONS
287#define CONFIGURE_MAXIMUM_USER_EXTENSIONS     0
288#endif
289
290#ifndef CONFIGURE_MICROSECONDS_PER_TICK
291#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(10)
292#endif
293
294#ifndef CONFIGURE_TICKS_PER_TIMESLICE
295#define CONFIGURE_TICKS_PER_TIMESLICE        50
296#endif
297
298/*
299 *  Initial Extension Set
300 */
301
302#ifdef CONFIGURE_INIT
303#ifdef STACK_CHECKER_ON
304#include <stackchk.h>
305#endif
306
307rtems_extensions_table Configuration_Initial_Extensions[] = {
308#ifdef CONFIGURE_INITIAL_EXTENSIONS
309    CONFIGURE_INITIAL_EXTENSIONS,
310#endif
311#ifdef STACK_CHECKER_ON
312    STACK_CHECKER_EXTENSION,
313#endif
314    { NULL, NULL, NULL, NULL, NULL, NULL, NULL }
315};
316
317#define CONFIGURE_NUMBER_OF_INITIAL_EXTENSIONS \
318  ((sizeof(Configuration_Initial_Extensions) / \
319    sizeof(rtems_extensions_table)) - 1)
320
321#endif
322
323/*
324 *  POSIX API Configuration Parameters
325 */
326
327#ifdef RTEMS_POSIX_API
328
329#ifndef CONFIGURE_MAXIMUM_POSIX_THREADS
330#define CONFIGURE_MAXIMUM_POSIX_THREADS      10
331#endif
332
333#ifndef CONFIGURE_MAXIMUM_POSIX_MUTEXES
334#define CONFIGURE_MAXIMUM_POSIX_MUTEXES      0
335#endif
336
337#ifndef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES
338#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  0
339#endif
340
341#ifndef CONFIGURE_MAXIMUM_POSIX_KEYS
342#define CONFIGURE_MAXIMUM_POSIX_KEYS         0
343#endif
344
345#ifndef CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS
346#define CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS 0
347#endif
348
349#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
350
351#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
352
353/*
354 *  The user is defining their own table information and setting the
355 *  appropriate variables.
356 */
357 
358#else
359
360#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
361#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT   POSIX_Init
362#endif
363
364#ifdef CONFIGURE_INIT
365posix_initialization_threads_table POSIX_Initialization_threads[] = {
366  { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
367};
368#endif
369
370#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
371 
372#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
373  sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
374      sizeof(posix_initialization_threads_table)
375
376#endif    /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
377
378#else     /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
379
380#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
381#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
382
383#endif
384
385#endif    /* RTEMS_POSIX_API */
386
387/*
388 *  Calculate the RAM size based on the maximum number of objects configured.
389 *  The model is to estimate the memory required for each configured item,
390 *  sum the memory requirements and insure that there is at least 32K greater
391 *  than that for things not directly addressed such as:
392 *
393 *    + stacks greater than minimum size
394 *    + FP contexts
395 *    + API areas (should be optional)
396 *    + messages
397 *    + object name and local pointer table overhead
398 *    + per node memory requirements
399 *    + executive fixed requirements (including at least internal threads
400 *       and the Ready chains)
401 *
402 *  NOTE:  Eventually this should take into account some of the above.
403 *         Basically, this is a "back of the envelope" estimate for
404 *         memory requirements.  It could be more accurate.
405 */
406
407#ifndef CONFIGURE_EXECUTIVE_RAM_SIZE
408
409#define CONFIGURE_OBJECT_TABLE_STUFF \
410  ( sizeof(Objects_Control *) + sizeof(rtems_name *) + sizeof(rtems_name) )
411
412#define CONFIGURE_MEMORY_FOR_TASKS(_tasks) \
413  (((_tasks) + 1 ) * \
414   ((sizeof(Thread_Control) + CONTEXT_FP_SIZE + \
415      STACK_MINIMUM_SIZE + sizeof( RTEMS_API_Control ) + \
416      CONFIGURE_OBJECT_TABLE_STUFF)) \
417  )
418
419#define CONFIGURE_MEMORY_FOR_TIMERS(_timers) \
420  ((_timers) * ( sizeof(Timer_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
421
422#define CONFIGURE_MEMORY_FOR_SEMAPHORES(_semaphores) \
423  ((_semaphores) * \
424   ( sizeof(Semaphore_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
425
426#define CONFIGURE_MEMORY_FOR_MESSAGE_QUEUES(_queues) \
427  ( (_queues) * \
428    ( sizeof(Message_queue_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
429
430#define CONFIGURE_MEMORY_FOR_PARTITIONS(_partitions) \
431  ( (_partitions) * \
432    ( sizeof(Partition_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
433
434#define CONFIGURE_MEMORY_FOR_REGIONS(_regions) \
435  ( (_regions) * \
436    ( sizeof(Region_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
437
438#define CONFIGURE_MEMORY_FOR_PORTS(_ports) \
439  ( (_ports) * \
440    ( sizeof(Dual_ported_memory_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
441
442#define CONFIGURE_MEMORY_FOR_PERIODS(_periods) \
443  ( (_periods) * \
444    ( sizeof(Rate_monotonic_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
445
446#define CONFIGURE_MEMORY_FOR_USER_EXTENSIONS(_extensions) \
447  ( (_extensions) * \
448    ( sizeof(Extension_Control) + CONFIGURE_OBJECT_TABLE_STUFF ) )
449
450#define CONFIGURE_MEMORY_FOR_DEVICES(_devices) \
451  (((_devices) + 1) * ( sizeof(rtems_driver_name_t) ) )
452
453#ifdef CONFIGURE_MPTEST
454
455#ifndef CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE
456
457#define CONFIGURE_MEMORY_FOR_PROXIES(_proxies) \
458  ( ((_proxies) + 1) * ( sizeof(Thread_Proxy_control) )  )
459
460#define CONFIGURE_MEMORY_FOR_GLOBAL_OBJECTS(_global_objects) \
461  ((_global_objects)  * ( sizeof(Objects_MP_Control) )  )
462
463#define CONFIGURE_MEMORY_FOR_MP \
464  ( CONFIGURE_MEMORY_FOR_PROXIES(CONFIGURE_MP_MAXIMUM_PROXIES) + \
465    CONFIGURE_MEMORY_FOR_GLOBAL_OBJECTS(CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS) + \
466    CONFIGURE_MEMORY_FOR_TASKS(1) \
467  )
468
469#endif  /* CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE */
470
471#else
472
473#define CONFIGURE_MEMORY_FOR_MP  0
474
475#endif
476
477#ifndef CONFIGURE_MEMORY_OVERHEAD
478#define CONFIGURE_MEMORY_OVERHEAD 0
479#endif
480
481#define CONFIGURE_MEMORY_FOR_SYSTEM_OVEREHAD \
482  ( CONFIGURE_MEMORY_FOR_TASKS(1) +    /* IDLE */ \
483    (256 * 12) +                       /* Ready chains */ \
484    256        +                       /* name/ptr table overhead */ \
485    CONFIGURE_INTERRUPT_STACK_MEMORY   /* interrupt stack */ \
486  )
487
488#define CONFIGURE_EXECUTIVE_RAM_SIZE \
489(( CONFIGURE_MEMORY_FOR_TASKS(CONFIGURE_MAXIMUM_TASKS) + \
490   CONFIGURE_MEMORY_FOR_TIMERS(CONFIGURE_MAXIMUM_TIMERS) + \
491   CONFIGURE_MEMORY_FOR_SEMAPHORES(CONFIGURE_MAXIMUM_SEMAPHORES + \
492     CONFIGURE_LIBIO_SEMAPHORES) + \
493   CONFIGURE_MEMORY_FOR_MESSAGE_QUEUES(CONFIGURE_MAXIMUM_MESSAGE_QUEUES) + \
494   CONFIGURE_MEMORY_FOR_PARTITIONS(CONFIGURE_MAXIMUM_PARTITIONS) + \
495   CONFIGURE_MEMORY_FOR_REGIONS( \
496      CONFIGURE_MAXIMUM_REGIONS + CONFIGURE_MALLOC_REGION ) + \
497   CONFIGURE_MEMORY_FOR_PORTS(CONFIGURE_MAXIMUM_PORTS) + \
498   CONFIGURE_MEMORY_FOR_PERIODS(CONFIGURE_MAXIMUM_PERIODS) + \
499   CONFIGURE_MEMORY_FOR_USER_EXTENSIONS( \
500      CONFIGURE_MAXIMUM_USER_EXTENSIONS + CONFIGURE_NEWLIB_EXTENSION + \
501      CONFIGURE_STACK_CHECKER_EXTENSION ) + \
502   CONFIGURE_MEMORY_FOR_DEVICES(CONFIGURE_MAXIMUM_DEVICES) + \
503   CONFIGURE_MEMORY_FOR_MP + \
504   CONFIGURE_MEMORY_FOR_SYSTEM_OVEREHAD + \
505   (((CONFIGURE_MEMORY_OVERHEAD)+1) * 1024) \
506) & 0xfffffc00)
507#endif
508
509#ifdef CONFIGURE_GNAT_RTEMS
510#define CONFIGURE_GNAT_MUTEXES 10
511#define CONFIGURE_GNAT_KEYS    1
512
513/* 20 are required to run all tests in the ACVC */
514#ifndef CONFIGURE_MAXIMUM_ADA_TASKS
515#define CONFIGURE_MAXIMUM_ADA_TASKS  20
516#endif
517
518#else
519#define CONFIGURE_GNAT_MUTEXES           0
520#define CONFIGURE_GNAT_KEYS              0
521#define CONFIGURE_MAXIMUM_ADA_TASKS      0
522#define CONFIGURE_MAXIMUM_FAKE_ADA_TASKS 0
523#endif
524
525
526#ifdef CONFIGURE_INIT
527
528rtems_api_configuration_table Configuration_RTEMS_API = {
529  CONFIGURE_MAXIMUM_TASKS,
530  CONFIGURE_MAXIMUM_TIMERS,
531  CONFIGURE_MAXIMUM_SEMAPHORES + CONFIGURE_LIBIO_SEMAPHORES,
532  CONFIGURE_MAXIMUM_MESSAGE_QUEUES,
533  CONFIGURE_MAXIMUM_PARTITIONS,
534  CONFIGURE_MAXIMUM_REGIONS + CONFIGURE_MALLOC_REGION,
535  CONFIGURE_MAXIMUM_PORTS,
536  CONFIGURE_MAXIMUM_PERIODS,
537  CONFIGURE_INIT_TASK_TABLE_SIZE,
538  CONFIGURE_INIT_TASK_TABLE
539};
540
541#ifdef RTEMS_POSIX_API
542posix_api_configuration_table Configuration_POSIX_API = {
543  CONFIGURE_MAXIMUM_POSIX_THREADS + CONFIGURE_MAXIMUM_ADA_TASKS,
544  CONFIGURE_MAXIMUM_POSIX_MUTEXES + CONFIGURE_GNAT_MUTEXES +
545    CONFIGURE_MAXIMUM_ADA_TASKS + CONFIGURE_MAXIMUM_FAKE_ADA_TASKS,
546  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES +
547    CONFIGURE_MAXIMUM_ADA_TASKS + CONFIGURE_MAXIMUM_FAKE_ADA_TASKS,
548  CONFIGURE_MAXIMUM_POSIX_KEYS + CONFIGURE_GNAT_KEYS,
549  CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS,
550  CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
551  CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
552};
553#endif
554
555rtems_configuration_table Configuration = {
556  CONFIGURE_EXECUTIVE_RAM_WORK_AREA,
557  CONFIGURE_EXECUTIVE_RAM_SIZE,
558  CONFIGURE_MAXIMUM_USER_EXTENSIONS + CONFIGURE_NEWLIB_EXTENSION + 
559      CONFIGURE_STACK_CHECKER_EXTENSION,
560  CONFIGURE_MICROSECONDS_PER_TICK,
561  CONFIGURE_TICKS_PER_TIMESLICE,
562  CONFIGURE_MAXIMUM_DEVICES,
563  sizeof (Device_drivers)/
564    sizeof(rtems_driver_address_table),      /* number of device drivers */
565  Device_drivers,                            /* pointer to driver table */
566  CONFIGURE_NUMBER_OF_INITIAL_EXTENSIONS,    /* number of initial extensions */
567  Configuration_Initial_Extensions,          /* pointer to initial extensions */
568  CONFIGURE_MULTIPROCESSING_TABLE,           /* pointer to MP config table */
569  &Configuration_RTEMS_API,                  /* pointer to RTEMS API config */
570#ifdef RTEMS_POSIX_API
571  &Configuration_POSIX_API                   /* pointer to POSIX API config */
572#else
573  NULL                                       /* pointer to POSIX API config */
574#endif
575};
576#endif
577
578#endif /* CONFIGURE_HAS_OWN_CONFIGURATION_TABLE */
579
580#ifdef __cplusplus
581}
582#endif
583 
584#endif
585/* end of include file */
Note: See TracBrowser for help on using the repository browser.