source: rtems/testsuites/sptests/spsize/size.c @ 5e9b32b

4.104.114.84.95
Last change on this file since 5e9b32b was 5e9b32b, checked in by Joel Sherrill <joel.sherrill@…>, on 09/26/95 at 19:27:15

posix support initially added

  • Property mode set to 100644
File size: 20.2 KB
RevLine 
[ac7d5ef0]1/*  main
2 *
3 *  This program is run to determine the data space and work space
4 *  requirements of the current version of RTEMS.
5 *
6 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
7 *  On-Line Applications Research Corporation (OAR).
8 *  All rights assigned to U.S. Government, 1994.
9 *
10 *  This material may be reproduced by or for the U.S. Government pursuant
11 *  to the copyright license under the clause at DFARS 252.227-7013.  This
12 *  notice must appear in all copies of this file and its derivatives.
13 *
[3235ad9]14 *  $Id$
[ac7d5ef0]15 */
16
17#include <rtems/system.h>
18#include <rtems/config.h>
[3a4ae6c]19#include <rtems/directives.h>
[5e9b32b]20#include <rtems/score/apiext.h>
21#include <rtems/score/copyrt.h>
[3a4ae6c]22#include <rtems/rtems/clock.h>
23#include <rtems/rtems/tasks.h>
24#include <rtems/rtems/dpmem.h>
25#include <rtems/rtems/event.h>
[ac7d5ef0]26#include <rtems/extension.h>
27#include <rtems/fatal.h>
28#include <rtems/init.h>
[18c5378]29#include <rtems/intthrd.h>
[5e9b32b]30#include <rtems/score/isr.h>
[3a4ae6c]31#include <rtems/rtems/intr.h>
[ac7d5ef0]32#include <rtems/io.h>
[3a4ae6c]33#include <rtems/rtems/message.h>
34#include <rtems/rtems/mp.h>
[5e9b32b]35#include <rtems/score/mpci.h>
[3a4ae6c]36#include <rtems/rtems/part.h>
[5e9b32b]37#include <rtems/score/priority.h>
[3a4ae6c]38#include <rtems/rtems/ratemon.h>
39#include <rtems/rtems/region.h>
40#include <rtems/rtems/sem.h>
41#include <rtems/rtems/signal.h>
[5e9b32b]42#include <rtems/score/sysstate.h>
43#include <rtems/score/thread.h>
[3a4ae6c]44#include <rtems/rtems/timer.h>
[5e9b32b]45#include <rtems/score/tod.h>
46#include <rtems/score/userext.h>
47#include <rtems/score/wkspace.h>
[ac7d5ef0]48
[637df35]49#include <stdlib.h>
50
[ac7d5ef0]51/* These are always defined by the executive.
52 *
53 * #include <rtems/copyrt.h>
54 * #include <rtems/tables.h>
55 * #include <rtems/sptables.h>
56 */
57#define  HEAP_OVHD        16    /* wasted heap space per task stack */
58#define  NAME_PTR_SIZE     8    /* size of name and pointer table entries */
59#define  READYCHAINS_SIZE  \
60    ((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control ))
61
62#define PER_TASK      \
63     (sizeof (Thread_Control) + NAME_PTR_SIZE + HEAP_OVHD)
64#define PER_SEMAPHORE \
65     (sizeof (Semaphore_Control) + NAME_PTR_SIZE)
66#define PER_TIMER     \
67     (sizeof (Timer_Control) + NAME_PTR_SIZE)
68#define PER_MSGQ      \
69     (sizeof (Message_queue_Control) + NAME_PTR_SIZE)
70#define PER_REGN      \
71     (sizeof (Region_Control) + NAME_PTR_SIZE)
72#define PER_PART      \
73     (sizeof (Partition_Control) + NAME_PTR_SIZE)
74#define PER_PERIOD      \
75     (sizeof (Rate_monotonic_Control) + NAME_PTR_SIZE)
76#define PER_PORT      \
77     (sizeof (Dual_ported_memory_Control) + NAME_PTR_SIZE)
78#define PER_EXTENSION     \
79     (sizeof (Extension_Control) + NAME_PTR_SIZE)
80
81#define PER_DRV       (0)
82#define PER_FPTASK    (CONTEXT_FP_SIZE)
83#define PER_GOBTBL    (sizeof (Chain_Control)*4)
84#define PER_NODE      PER_GOBTBL
85#define PER_GOBJECT   (sizeof (Objects_MP_Control))
86#define PER_PROXY     (sizeof (Thread_Proxy_control))
87
88#if (CPU_ALL_TASKS_ARE_FP == TRUE)
89#define SYSTEM_INITIALIZATION_FP (sizeof( Context_Control_fp ))
90#else
91#define SYSTEM_INITIALIZATION_FP 0
92#endif
93
94#if (CPU_IDLE_TASK_IS_FP == TRUE)
95#define SYSTEM_IDLE_FP (sizeof( Context_Control_fp ))
96#else
97#define SYSTEM_IDLE_FP 0
98#endif
99
100#define SYSTEM_TASKS  \
101    (INTERNAL_THREADS_IDLE_THREAD_STACK_SIZE + \
102     INTERNAL_THREADS_SYSTEM_INITIALIZATION_THREAD_STACK_SIZE + \
103     (2*sizeof(Thread_Control))) + \
104     SYSTEM_INITIALIZATION_FP + \
105     SYSTEM_IDLE_FP
106
107#define rtems_unsigned32 unsigned32
108
109rtems_unsigned32 sys_req;
110
111/* to avoid warnings */
112int puts();
113int printf();
114int getint();
115#undef getchar
116int getchar();
117void help_size();
118void print_formula();
119
120void size_rtems(
121  int mode
122)
123{
124int uninitialized = 0;
125int initialized = 0;
126
127/*
128 *  The following data is allocated for each Manager:
129 *
130 *    + Per Manager Object Information
131 *      - local pointer table
132 *      - local name table
133 *      - the object's control blocks
134 *      - global name chains
135 *
136 *  The following is the data allocate from the RTEMS Workspace Area.
137 *  The order indicates the order in which RTEMS allocates it.
138 *
139 *    + Object MP
140 *      - Global Object CB's
141 *    + Thread
142 *      - Ready Chain
143 *    + Thread MP
144 *      - Proxies Chain
145 *    + Interrupt Manager
146 *      - Interrupt Stack
147 *    + Timer Manager
148 *      - per Manager Object Data
149 *    + Extension Manager
150 *      - per Manager Object Data
151 *    + Message Queue Manager
152 *      - per Manager Object Data
153 *      - Message Buffers
154 *    + Semaphore Manager
155 *      - per Manager Object Data
156 *    + Partition Manager
157 *      - per Manager Object Data
158 *    + Region Manager
159 *      - per Manager Object Data
160 *    + Dual Ported Memory Manager
161 *      - per Manager Object Data
162 *    + Rate Monotonic Manager
163 *      - per Manager Object Data
164 *    + Internal Threads Handler
165 *      - SYSI Thread TCB
166 *      - IDLE Thread TCB
167 *      - SYSI Thread stack
168 *      - SYSI Thread FP area (if CPU requires this)
169 *      - IDLE Thread stack
170 *      - IDLE Thread FP area (if CPU requires this)
171 *
172 *  This does not take into account any CPU dependent alignment requirements.
173 *
174 *  The following calculates the overhead needed by RTEMS from the
175 *  Workspace Area.
176 */
177sys_req = SYSTEM_TASKS     +     /* SYSI and IDLE */
178          NAME_PTR_SIZE    +     /* Task Overhead */
179          READYCHAINS_SIZE +     /* Ready Chains */
180          NAME_PTR_SIZE    +     /* Timer Overhead */
181          NAME_PTR_SIZE    +     /* Semaphore Overhead */
182          NAME_PTR_SIZE    +     /* Message Queue Overhead */
183          NAME_PTR_SIZE    +     /* Region Overhead */
184          NAME_PTR_SIZE    +     /* Partition Overhead */
185          NAME_PTR_SIZE    +     /* Dual-Ported Memory Overhead */
186          NAME_PTR_SIZE    +     /* Rate Monotonic Overhead */
187          NAME_PTR_SIZE    +     /* Extension Overhead */
188          PER_NODE;              /* Extra Gobject Table */
189
190uninitialized =
191/*address.h*/   0                                         +
192
[18c5378]193/*apiext.h*/    (sizeof _API_extensions_List)             +
194
[ac7d5ef0]195/*asr.h*/       0                                         +
196
197/*attr.h*/      0                                         +
198
199/*bitfield.h*/  0                                         +
200
201/*chain.h*/     0                                         +
202
203/*clock.h*/     0                                         +
204
205/*config.h*/    (sizeof _Configuration_Table)             +
206                (sizeof _Configuration_MP_table)          +
207
208/*context.h*/   (sizeof _Context_Switch_necessary)        +
209
210/*copyrt.h*/    0                                         +
211
[3a4ae6c]212/*debug.h*/     (sizeof _Debug_Level)                     +
213
[ac7d5ef0]214/*dpmem.h*/     (sizeof _Dual_ported_memory_Information)  +
215
216/*event.h*/     (sizeof _Event_Sync)                      +
217
218/*eventmp.h*/   0                                         +
219
220/*eventset.h*/  0                                         +
221
222/*extension.h*/ (sizeof _Extension_Information)           +
223
224/*fatal.h*/     0                                         +
225
226/*heap.h*/      0                                         +
227
228/*init.h*/      0                                         +
229
[3a4ae6c]230/*interr.h*/    (sizeof Internal_errors_What_happened)    +
231
[ac7d5ef0]232/*inthrdmp.h*/  0                                         +
233
234/*intr.h*/      0                                         +
235
[3a4ae6c]236/*intthrd.h*/   (sizeof _Internal_threads_Information)    +
237                (sizeof _Internal_threads_System_initialization_thread) +
[ac7d5ef0]238                (sizeof _Internal_threads_Idle_thread)    +
239
240/*io.h*/        (sizeof _IO_Number_of_drivers)            +
241                (sizeof _IO_Driver_address_table)         +
[3a4ae6c]242                (sizeof _IO_Number_of_devices)            +
243                (sizeof _IO_Driver_name_table)            +
[ac7d5ef0]244
245/*isr.h*/       (sizeof _ISR_Nest_level)                  +
246                (sizeof _ISR_Vector_table)                +
247                (sizeof _ISR_Signals_to_thread_executing) +
248
[4b374f36]249/*message.h*/   (sizeof _Message_queue_Information)       +
[ac7d5ef0]250
251/*modes.h*/     0                                         +
252
253/*mp.h*/        0                                         +
254
255/*mpci.h*/      (sizeof _MPCI_Remote_blocked_threads)     +
[3a4ae6c]256                (sizeof _MPCI_Semaphore)                  +
257                (sizeof _MPCI_table)                      +
258                (sizeof _MPCI_Receive_server_tcb)         +
259                (sizeof _MPCI_Packet_processors)          +
[ac7d5ef0]260
261/*mppkt.h*/     0                                         +
262
263/*mptables.h*/  0                                         +
264
265/*msgmp.h*/     0                                         +
266
267/*object.h*/    (sizeof _Objects_Local_node)              +
[3a4ae6c]268                (sizeof _Objects_Maximum_nodes)           +
269                (sizeof _Objects_Information_table)       +
[ac7d5ef0]270
[3a4ae6c]271/*objectmp.h*/  (sizeof _Objects_MP_Maximum_global_objects) +
272                (sizeof _Objects_MP_Inactive_global_objects) +
[ac7d5ef0]273
274/*options.h*/   0                                         +
275
276/*part.h*/      (sizeof _Partition_Information)           +
277
278/*partmp.h*/    0                                         +
279
280/*priority.h*/  (sizeof _Priority_Major_bit_map)          +
281                (sizeof _Priority_Bit_map)                +
282
283/*ratemon.h*/   (sizeof _Rate_monotonic_Information)      +
284
285/*region.h*/    (sizeof _Region_Information)              +
286
287/*regionmp.h*/  0                                         +
288
289/*rtems.h*/     /* Not applicable */
290
291/*sem.h*/       (sizeof _Semaphore_Information)           +
292
293/*semmp.h*/     0                                         +
294
295/*signal.h*/    0                                         +
296
297/*signalmp.h*/  0                                         +
298
299/*stack.h*/     0                                         +
300
301/*states.h*/    0                                         +
302
303/*status.h*/    0                                         +
304
[3a4ae6c]305/*sysstate.h*/  (sizeof _System_state_Is_multiprocessing) +
306                (sizeof _System_state_Current)            +
[ac7d5ef0]307
[3a4ae6c]308/*system.h*/    (sizeof _CPU_Table)                       +
[ac7d5ef0]309
310/*taskmp.h*/    0                                         +
311
[5250ff39]312/*tasks.h*/     (sizeof _RTEMS_tasks_Information)         +
[3a4ae6c]313                (sizeof _RTEMS_tasks_User_initialization_tasks) +
314                (sizeof _RTEMS_tasks_Number_of_initialization_tasks) +
[ac7d5ef0]315
[3a4ae6c]316/*thread.h*/    (sizeof _Thread_BSP_context)              +
317                (sizeof _Thread_Dispatch_disable_level)   +
318                (sizeof _Thread_Maximum_extensions)       +
[ac7d5ef0]319                (sizeof _Thread_Ticks_remaining_in_timeslice)   +
320                (sizeof _Thread_Ticks_per_timeslice)      +
321                (sizeof _Thread_Ready_chain)              +
322                (sizeof _Thread_Executing)                +
323                (sizeof _Thread_Heir)                     +
324                (sizeof _Thread_Allocated_fp)             +
325
326/*threadmp.h*/  (sizeof _Thread_MP_Receive)               +
327                (sizeof _Thread_MP_Active_proxies)        +
328                (sizeof _Thread_MP_Inactive_proxies)      +
329
[3a4ae6c]330/*threadq.h*/   (sizeof _Thread_queue_Extract_table)      +
[ac7d5ef0]331
332/*timer.h*/     (sizeof _Timer_Information)               +
333
334/*tod.h*/       (sizeof _TOD_Current)                     +
335                (sizeof _TOD_Seconds_since_epoch)         +
336                (sizeof _TOD_Ticks_since_boot)            +
337                (sizeof _TOD_Microseconds_per_tick)       +
338                (sizeof _TOD_Ticks_per_second)            +
339                (sizeof _TOD_Seconds_watchdog)            +
340
341/*tqdata.h*/    0                                         +
342
343/*types.h*/     0                                         +
344
345/*userext.h*/   (sizeof _User_extensions_Initial)         +
346                (sizeof _User_extensions_List)            +
347
[3a4ae6c]348/*watchdog.h*/  (sizeof _Watchdog_Sync_level)             +
[88d594a]349                (sizeof _Watchdog_Sync_count)             +
[3a4ae6c]350                (sizeof _Watchdog_Ticks_chain)            +
351                (sizeof _Watchdog_Seconds_chain)          +
[ac7d5ef0]352
353/*wkspace.h*/   (sizeof _Workspace_Area);
354
355uninitialized = 0;
356
357#ifdef i386
358
359/* cpu.h */
360uninitialized += (sizeof _CPU_Null_fp_context) +
361                 (sizeof _CPU_Interrupt_stack_low) +
362                 (sizeof _CPU_Interrupt_stack_high);
363
364#endif
365
366#ifdef i960
367
368/* cpu.h */
369uninitialized += (sizeof _CPU_Interrupt_stack_low) +
370                 (sizeof _CPU_Interrupt_stack_high);
371
372#endif
373
374#ifdef hppa1_1
375
376/* cpu.h */
377uninitialized += (sizeof _CPU_Null_fp_context) +
[6b782ab]378#ifndef RTEMS_UNIX
[ac7d5ef0]379                 (sizeof _CPU_Default_gr27) +
[6b782ab]380#endif
[ac7d5ef0]381                 (sizeof _CPU_Interrupt_stack_low) +
382                 (sizeof _CPU_Interrupt_stack_high);
383#endif
384
385#ifdef m68k
386
387/* cpu.h */
388uninitialized += (sizeof _CPU_Interrupt_stack_low) +
389                 (sizeof _CPU_Interrupt_stack_high);
390
391#endif
392
393#ifdef no_cpu
394
395/* cpu.h */
396uninitialized += (sizeof _CPU_Null_fp_context) +
397                 (sizeof _CPU_Interrupt_stack_low) +
398                 (sizeof _CPU_Interrupt_stack_high) +
399                 (sizeof _CPU_Thread_dispatch_pointer);
400
401#endif
402
[3a4ae6c]403#ifdef ppc
404
405/* cpu.h */
406uninitialized += (sizeof _CPU_Interrupt_stack_low) +
407                 (sizeof _CPU_Interrupt_stack_high) +
408                 (sizeof _CPU_IRQ_info);
409
410#endif
411
[ac7d5ef0]412initialized +=
413/*copyrt.h*/    (strlen(_Copyright_Notice)+1)             +
414
[3a4ae6c]415/*sptables.h*/  (sizeof _Initialization_Default_multiprocessing_table)  +
[ac7d5ef0]416                (strlen(_RTEMS_version)+1)      +
417                (sizeof _Entry_points)          +
418
419
420/*tod.h*/       (sizeof _TOD_Days_per_month)    +
421                (sizeof _TOD_Days_to_date)      +
422                (sizeof _TOD_Days_since_last_leap_year);
423
424puts( "" );
425#ifdef i960CA
426  print_formula();
427#else
428  if ( mode == 0 ) help_size();
429  else             print_formula();
430#endif
431
432printf( "\n" );
433printf( "RTEMS uninitialized data consumes %d bytes\n", uninitialized );
434printf( "RTEMS intialized data consumes %d bytes\n", initialized );
435
436}
437
438void help_size()
439{
440int c = '\0';
441int break_loop;
442int total_size;
443int task_stacks;
444int interrupt_stack;
445int maximum_tasks, size_tasks;
446int maximum_sems, size_sems;
447int maximum_timers, size_timers;
448int maximum_msgqs, size_msgqs;
[4b374f36]449int maximum_msgs, size_msgs_overhead;
[ac7d5ef0]450int maximum_regns, size_regns;
451int maximum_parts, size_parts;
452int maximum_ports, size_ports;
453int maximum_periods, size_periods;
454int maximum_extensions, size_extensions;
455int maximum_drvs, size_drvs;
456int maximum_fps, size_fps;
457int maximum_nodes, size_nodes;
458int maximum_gobjs, size_gobjs;
459int maximum_proxies, size_proxies;
460
461total_size = sys_req;    /* Fixed Overhead */
462printf( "What is maximum_tasks? " );
463maximum_tasks = getint();
464size_tasks = PER_TASK * maximum_tasks;
465total_size += size_tasks;
466
467printf( "What is maximum_semaphores? " );
468maximum_sems = getint();
469size_sems = PER_SEMAPHORE * maximum_sems;
470total_size += size_sems;
471
472printf( "What is maximum_timers? " );
473maximum_timers = getint();
474size_timers = PER_TIMER * maximum_timers;
475total_size += size_timers;
476
477printf( "What is maximum_message_queues? " );
478maximum_msgqs = getint();
479size_msgqs = PER_MSGQ * maximum_msgqs;
480total_size += size_msgqs;
481
[3652ad35]482printf( "What is maximum_messages?  XXXX " );
[ac7d5ef0]483maximum_msgs = getint();
[3652ad35]484size_msgs_overhead = 0;
[4b374f36]485total_size += size_msgs_overhead;
[ac7d5ef0]486
487printf( "What is maximum_regions? " );
488maximum_regns = getint();
489size_regns = PER_REGN * maximum_regns;
490total_size += size_regns;
491
492printf( "What is maximum_partitions? " );
493maximum_parts = getint();
494size_parts = PER_PART * maximum_parts;
495total_size += size_parts;
496
497printf( "What is maximum_ports? " );
498maximum_ports = getint();
499size_ports = PER_PORT * maximum_ports;
500total_size += size_ports;
501
502printf( "What is maximum_periods? " );
503maximum_periods = getint();
504size_periods = PER_PORT * maximum_periods;
505total_size += size_periods;
506
507printf( "What is maximum_extensions? " );
508maximum_extensions = getint();
509size_extensions = PER_EXTENSION * maximum_extensions;
510total_size += size_extensions;
511
512printf( "What is number_of_device_drivers? " );
513maximum_drvs = getint();
514size_drvs = PER_DRV  * maximum_drvs;
515total_size += size_drvs;
516
517printf( "What will be total stack requirement for all tasks? " );
518task_stacks = getint();
519total_size += task_stacks;
520
521printf( "What is the size of the interrupt stack? " );
522interrupt_stack = getint();
523total_size += interrupt_stack;
524
525printf( "How many tasks will be created with the FP flag? " );
526maximum_fps = getint();
527size_fps = PER_FPTASK  * maximum_fps;
528total_size += size_fps;
529
530printf( "Is this a single processor system? " );
531for ( break_loop=0 ; !break_loop; c = getchar() ) {
532  switch ( c ) {
533    case 'Y':  case 'y':
534    case 'N':  case 'n':
535      break_loop = 1;
536      break;
537  }
538}
539printf( "%c\n", c );
540if ( c == 'n' || c == 'N' ) {
541  printf( "What is maximum_nodes? " );
542  maximum_nodes = getint();
543  size_nodes = PER_NODE * maximum_nodes;
544  total_size += size_nodes;
545  printf( "What is maximum_global_objects? " );
546  maximum_gobjs = getint();
547  size_gobjs = PER_GOBJECT * maximum_gobjs;
548  total_size += size_gobjs;
549  printf( "What is maximum_proxies? " );
550  maximum_proxies = getint();
551  size_proxies = PER_PROXY * maximum_proxies;
552  total_size += size_proxies;
553} else {
554  maximum_nodes = 0;
555  size_nodes = PER_NODE * 0;
556  maximum_gobjs = 0;
557  size_gobjs = PER_GOBJECT * 0;
558  maximum_proxies = 0;
559  size_proxies = PER_PROXY * 0;
560}
561
562printf( "\n\n" );
563printf( " ************** EXECUTIVE WORK SPACE REQUIRED **************\n" );
564printf( " Tasks                - %03d * %03d            =  %d\n",
565          maximum_tasks, PER_TASK, size_tasks );
566printf( " Semaphores           - %03d * %03d            =  %d\n",
567          maximum_sems, PER_SEMAPHORE, size_sems );
568printf( " Timers               - %03d * %03d            =  %d\n",
569          maximum_timers, PER_TIMER, size_timers );
570printf( " Msg Queues           - %03d * %03d            =  %d\n",
571          maximum_msgqs, PER_MSGQ, size_msgqs );
[4b374f36]572printf( " Messages Overhead    - %03d * %03d            =  %d\n",
[3652ad35]573          maximum_msgs, 0 /* PER_MSG_OVERHEAD */, size_msgs_overhead );
[ac7d5ef0]574printf( " Regions              - %03d * %03d            =  %d\n",
575          maximum_regns, PER_REGN, size_regns);
576printf( " Partitions           - %03d * %03d            =  %d\n",
577          maximum_parts, PER_PART, size_parts );
578printf( " Periods              - %03d * %03d            =  %d\n",
579          maximum_periods, PER_PERIOD, size_periods );
580printf( " Extensions           - %03d * %03d            =  %d\n",
581          maximum_extensions, PER_EXTENSION, size_extensions );
582printf( " Device Drivers       - %03d * %03d            =  %d\n",
583          maximum_drvs, PER_DRV, size_drvs );
584
585printf( " System Requirements  - %04d                 =  %d\n",
586          sys_req, sys_req );
587
588printf( " Floating Point Tasks - %03d * %03d            =  %d\n",
589          maximum_fps, PER_FPTASK, size_fps );
590printf( " Application Task Stacks -                     =  %d\n",
591          task_stacks );
592printf( " Interrupt Stacks -                            =  %d\n",
593          task_stacks );
594printf( " \n" );
595printf( " Global object tables - %03d * %03d            =  %d\n",
596          maximum_nodes, PER_NODE, size_nodes );
597printf( " Global objects       - %03d * %03d            =  %d\n",
598          maximum_gobjs, PER_GOBJECT, size_gobjs );
599printf( " Proxies              - %03d * %03d            =  %d\n",
600          maximum_proxies, PER_PROXY, size_proxies );
601printf( "\n\n" );
602printf( " TOTAL                                       = %d bytes\n",
603      total_size );
604}
605
606void print_formula()
607{
608printf( " ************** EXECUTIVE WORK SPACE FORMULA **************\n" );
609printf( " Tasks                - maximum_tasks * %d\n",      PER_TASK );
610printf( " Timers               - maximum_timers * %d\n",     PER_TIMER );
611printf( " Semaphores           - maximum_semaphores * %d\n", PER_SEMAPHORE);
612printf( " Message Queues       - maximum_message_queues * %d\n", PER_MSGQ );
[4b374f36]613printf( " Messages             -\n");
[ac7d5ef0]614printf( " Regions              - maximum_regions * %d\n",    PER_REGN );
615printf( " Partitions           - maximum_partitions * %d\n", PER_PART );
616printf( " Ports                - maximum_ports * %d\n",      PER_PORT );
617printf( " Periods              - maximum_periods * %d\n",    PER_PORT );
618printf( " Extensions           - maximum_extensions * %d\n", PER_EXTENSION );
619printf( " Device Drivers       - number_of_device_drivers * %d\n", PER_DRV);
620printf( " System Requirements  - %d\n",                      sys_req );
621printf( " Floating Point Tasks - FPMASK Tasks * %d\n",       CONTEXT_FP_SIZE );
622printf( " User's Tasks' Stacks -\n" );
623printf( " Interrupt Stack      -\n" );
624printf( " \n" );
625printf( " Global object tables - maximum_nodes * %d\n",          PER_NODE );
626printf( " Global objects       - maximum_global_objects * %d\n", PER_GOBJECT );
627printf( " Proxies              - maximum_proxies * %d\n",        PER_PROXY );
628}
Note: See TracBrowser for help on using the repository browser.