source: rtems/testsuites/sptests/spsize/size.c @ b3d3a34e

4.104.114.84.95
Last change on this file since b3d3a34e was d07d3eec, checked in by Joel Sherrill <joel.sherrill@…>, on 04/15/98 at 15:09:38

Initial sets of user extensions now have memory allocated on the fly
for them.

  • Property mode set to 100644
File size: 20.8 KB
Line 
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-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#include <rtems/system.h>
18#include <rtems/config.h>
19#include <rtems/directives.h>
20#include <rtems/score/apiext.h>
21#include <rtems/score/copyrt.h>
22#include <rtems/rtems/clock.h>
23#include <rtems/rtems/tasks.h>
24#include <rtems/rtems/dpmem.h>
25#include <rtems/rtems/event.h>
26#include <rtems/extension.h>
27#include <rtems/fatal.h>
28#include <rtems/init.h>
29#include <rtems/score/isr.h>
30#include <rtems/rtems/intr.h>
31#include <rtems/io.h>
32#include <rtems/rtems/message.h>
33#include <rtems/rtems/mp.h>
34#include <rtems/score/mpci.h>
35#include <rtems/rtems/part.h>
36#include <rtems/score/priority.h>
37#include <rtems/rtems/ratemon.h>
38#include <rtems/rtems/region.h>
39#include <rtems/rtems/sem.h>
40#include <rtems/rtems/signal.h>
41#include <rtems/score/sysstate.h>
42#include <rtems/score/thread.h>
43#include <rtems/rtems/timer.h>
44#include <rtems/score/tod.h>
45#include <rtems/score/userext.h>
46#include <rtems/score/wkspace.h>
47
48#include <stdlib.h>
49
50/* These are always defined by the executive.
51 *
52 * #include <rtems/copyrt.h>
53 * #include <rtems/tables.h>
54 * #include <rtems/sptables.h>
55 */
56#define  HEAP_OVHD        16    /* wasted heap space per task stack */
57#define  NAME_PTR_SIZE     8    /* size of name and pointer table entries */
58#define  READYCHAINS_SIZE  \
59    ((RTEMS_MAXIMUM_PRIORITY + 1) * sizeof(Chain_Control ))
60
61#define PER_TASK      \
62     (long) (sizeof (Thread_Control) + \
63      NAME_PTR_SIZE + HEAP_OVHD + sizeof( RTEMS_API_Control ))
64#define PER_SEMAPHORE \
65     (long) (sizeof (Semaphore_Control) + NAME_PTR_SIZE)
66#define PER_TIMER     \
67     (long) (sizeof (Timer_Control) + NAME_PTR_SIZE)
68#define PER_MSGQ      \
69     (long) (sizeof (Message_queue_Control) + NAME_PTR_SIZE)
70#define PER_REGN      \
71     (long) (sizeof (Region_Control) + NAME_PTR_SIZE)
72#define PER_PART      \
73     (long) (sizeof (Partition_Control) + NAME_PTR_SIZE)
74#define PER_PERIOD      \
75     (long) (sizeof (Rate_monotonic_Control) + NAME_PTR_SIZE)
76#define PER_PORT      \
77     (long) (sizeof (Dual_ported_memory_Control) + NAME_PTR_SIZE)
78#define PER_EXTENSION     \
79     (long) (sizeof (Extension_Control) + NAME_PTR_SIZE)
80
81#define PER_DRV       (long) (0)
82#define PER_FPTASK    (long) (CONTEXT_FP_SIZE)
83#define PER_GOBTBL    (long) (sizeof (Chain_Control)*4)
84#define PER_NODE      (long) PER_GOBTBL
85#define PER_GOBJECT   (long) (sizeof (Objects_MP_Control))
86#define PER_PROXY     (long) (sizeof (Thread_Proxy_control))
87
88#if (CPU_ALL_TASKS_ARE_FP == TRUE)
89#define MPCI_RECEIVE_SERVER_FP (long) (sizeof( Context_Control_fp ))
90#else
91#define MPCI_RECEIVE_SERVER_FP (long) 0
92#endif
93
94#if (CPU_IDLE_TASK_IS_FP == TRUE)
95#define SYSTEM_IDLE_FP (long) (sizeof( Context_Control_fp ))
96#else
97#define SYSTEM_IDLE_FP (long) 0
98#endif
99
100#define SYSTEM_TASKS  \
101    (THREAD_IDLE_STACK_SIZE + \
102     MPCI_RECEIVE_SERVER_STACK_SIZE + \
103     (2*sizeof(Thread_Control))) + \
104     MPCI_RECEIVE_SERVER_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 *      - MPCI Receive Server Thread TCB
166 *      - IDLE Thread TCB
167 *      - MPCI Receive Server Thread stack
168 *      - MPCI Receive Server 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     +     /* MPCI Receive Server 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
193/*apiext.h*/    (sizeof _API_extensions_List)             +
194
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
212/*debug.h*/     (sizeof _Debug_Level)                     +
213
214/*dpmem.h*/     (sizeof _Dual_ported_memory_Information)  +
215
216/*event.h*/     (sizeof _Event_Sync_state)                +
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
230/*interr.h*/    (sizeof Internal_errors_What_happened)    +
231
232/*intr.h*/      0                                         +
233
234/*io.h*/        (sizeof _IO_Number_of_drivers)            +
235                (sizeof _IO_Driver_address_table)         +
236                (sizeof _IO_Number_of_devices)            +
237                (sizeof _IO_Driver_name_table)            +
238
239/*isr.h*/       (sizeof _ISR_Nest_level)                  +
240                (sizeof _ISR_Vector_table)                +
241                (sizeof _ISR_Signals_to_thread_executing) +
242
243/*message.h*/   (sizeof _Message_queue_Information)       +
244
245/*modes.h*/     0                                         +
246
247/*mp.h*/        0                                         +
248
249/*mpci.h*/      (sizeof _MPCI_Remote_blocked_threads)     +
250                (sizeof _MPCI_Semaphore)                  +
251                (sizeof _MPCI_table)                      +
252                (sizeof _MPCI_Receive_server_tcb)         +
253                (sizeof _MPCI_Packet_processors)          +
254
255/*mppkt.h*/     0                                         +
256
257/*mptables.h*/  0                                         +
258
259/*msgmp.h*/     0                                         +
260
261/*object.h*/    (sizeof _Objects_Local_node)              +
262                (sizeof _Objects_Maximum_nodes)           +
263                (sizeof _Objects_Information_table)       +
264
265/*objectmp.h*/  (sizeof _Objects_MP_Maximum_global_objects) +
266                (sizeof _Objects_MP_Inactive_global_objects) +
267
268/*options.h*/   0                                         +
269
270/*part.h*/      (sizeof _Partition_Information)           +
271
272/*partmp.h*/    0                                         +
273
274/*priority.h*/  (sizeof _Priority_Major_bit_map)          +
275                (sizeof _Priority_Bit_map)                +
276
277/*ratemon.h*/   (sizeof _Rate_monotonic_Information)      +
278
279/*region.h*/    (sizeof _Region_Information)              +
280
281/*regionmp.h*/  0                                         +
282
283/*rtems.h*/     /* Not applicable */
284
285/*sem.h*/       (sizeof _Semaphore_Information)           +
286
287/*semmp.h*/     0                                         +
288
289/*signal.h*/    0                                         +
290
291/*signalmp.h*/  0                                         +
292
293/*stack.h*/     0                                         +
294
295/*states.h*/    0                                         +
296
297/*status.h*/    0                                         +
298
299/*sysstate.h*/  (sizeof _System_state_Is_multiprocessing) +
300                (sizeof _System_state_Current)            +
301
302/*system.h*/    (sizeof _CPU_Table)                       +
303
304/*taskmp.h*/    0                                         +
305
306/*tasks.h*/     (sizeof _RTEMS_tasks_Information)         +
307                (sizeof _RTEMS_tasks_User_initialization_tasks) +
308                (sizeof _RTEMS_tasks_Number_of_initialization_tasks) +
309
310/*thread.h*/    (sizeof _Thread_BSP_context)              +
311                (sizeof _Thread_Dispatch_disable_level)   +
312                (sizeof _Thread_Do_post_task_switch_extension) +
313                (sizeof _Thread_Maximum_extensions)       +
314                (sizeof _Thread_Ticks_per_timeslice)      +
315                (sizeof _Thread_Ready_chain)              +
316                (sizeof _Thread_Executing)                +
317                (sizeof _Thread_Heir)                     +
318                (sizeof _Thread_Allocated_fp)             +
319                (sizeof _Thread_Internal_information)     +
320                (sizeof _Thread_Idle)                     +
321
322/*threadmp.h*/  (sizeof _Thread_MP_Receive)               +
323                (sizeof _Thread_MP_Active_proxies)        +
324                (sizeof _Thread_MP_Inactive_proxies)      +
325
326/*threadq.h*/   (sizeof _Thread_queue_Extract_table)      +
327
328/*timer.h*/     (sizeof _Timer_Information)               +
329
330/*tod.h*/       (sizeof _TOD_Current)                     +
331                (sizeof _TOD_Seconds_since_epoch)         +
332                (sizeof _TOD_Microseconds_per_tick)       +
333                (sizeof _TOD_Ticks_per_second)            +
334                (sizeof _TOD_Seconds_watchdog)            +
335
336/*tqdata.h*/    0                                         +
337
338/*types.h*/     0                                         +
339
340/*userext.h*/   (sizeof _User_extensions_List)            +
341
342/*watchdog.h*/  (sizeof _Watchdog_Sync_level)             +
343                (sizeof _Watchdog_Sync_count)             +
344                (sizeof _Watchdog_Ticks_since_boot)       +
345                (sizeof _Watchdog_Ticks_chain)            +
346                (sizeof _Watchdog_Seconds_chain)          +
347
348/*wkspace.h*/   (sizeof _Workspace_Area);
349
350uninitialized = 0;
351
352#ifndef unix  /* make sure this is not a native compile */
353
354#ifdef __i386__
355
356/* cpu.h */
357uninitialized += (sizeof _CPU_Null_fp_context) +
358                 (sizeof _CPU_Interrupt_stack_low) +
359                 (sizeof _CPU_Interrupt_stack_high);
360
361#endif
362
363#ifdef __i960__
364
365/* cpu.h */
366uninitialized += (sizeof _CPU_Interrupt_stack_low) +
367                 (sizeof _CPU_Interrupt_stack_high);
368
369#endif
370
371#ifdef __hppa__
372
373/* cpu.h */
374uninitialized += (sizeof _CPU_Null_fp_context) +
375#ifndef RTEMS_UNIX
376                 (sizeof _CPU_Default_gr27) +
377#endif
378                 (sizeof _CPU_Interrupt_stack_low) +
379                 (sizeof _CPU_Interrupt_stack_high);
380#endif
381
382#ifdef __mc68000__
383
384/* cpu.h */
385uninitialized += (sizeof _CPU_Interrupt_stack_low) +
386                 (sizeof _CPU_Interrupt_stack_high);
387
388#endif
389
390#ifdef __sparc__
391 
392/* cpu.h */
393uninitialized += (sizeof _CPU_Interrupt_stack_low) +
394                 (sizeof _CPU_Interrupt_stack_high) +
395                 (sizeof _CPU_Null_fp_context);
396
397#ifndef NO_TABLE_MOVE
398uninitialized += (sizeof _CPU_Trap_Table_area);
399#endif
400
401#ifdef erc32
402uninitialized += (sizeof _ERC32_MEC_Timer_Control_Mirror);
403#endif
404
405 
406#endif
407
408
409#ifdef no_cpu
410
411/* cpu.h */
412uninitialized += (sizeof _CPU_Null_fp_context) +
413                 (sizeof _CPU_Interrupt_stack_low) +
414                 (sizeof _CPU_Interrupt_stack_high) +
415                 (sizeof _CPU_Thread_dispatch_pointer);
416
417#endif
418
419#ifdef __PPC__
420
421/* cpu.h */
422uninitialized += (sizeof _CPU_Interrupt_stack_low) +
423                 (sizeof _CPU_Interrupt_stack_high) +
424                 (sizeof _CPU_IRQ_info);
425
426#endif
427#endif /* !unix */
428
429initialized +=
430/*copyrt.h*/    (strlen(_Copyright_Notice)+1)             +
431
432/*sptables.h*/  (sizeof _Initialization_Default_multiprocessing_table)  +
433                (strlen(_RTEMS_version)+1)      +
434                (sizeof _Entry_points)          +
435
436
437/*tod.h*/       (sizeof _TOD_Days_per_month)    +
438                (sizeof _TOD_Days_to_date)      +
439                (sizeof _TOD_Days_since_last_leap_year);
440
441#ifndef unix /* make sure this is not native */
442#ifdef __sparc__
443
444initialized +=  (sizeof _CPU_Trap_slot_template);
445
446#endif
447#endif /* !unix */
448
449puts( "" );
450
451  if ( mode == 0 ) help_size();
452  else             print_formula();
453
454printf( "\n" );
455printf( "RTEMS uninitialized data consumes %d bytes\n", uninitialized );
456printf( "RTEMS intialized data consumes %d bytes\n", initialized );
457
458}
459
460void help_size()
461{
462int c = '\0';
463int break_loop;
464int total_size;
465int task_stacks;
466int interrupt_stack;
467int maximum_tasks, size_tasks;
468int maximum_sems, size_sems;
469int maximum_timers, size_timers;
470int maximum_msgqs, size_msgqs;
471int maximum_msgs, size_msgs_overhead;
472int maximum_regns, size_regns;
473int maximum_parts, size_parts;
474int maximum_ports, size_ports;
475int maximum_periods, size_periods;
476int maximum_extensions, size_extensions;
477int maximum_drvs, size_drvs;
478int maximum_fps, size_fps;
479int maximum_nodes, size_nodes;
480int maximum_gobjs, size_gobjs;
481int maximum_proxies, size_proxies;
482
483total_size = sys_req;    /* Fixed Overhead */
484printf( "What is maximum_tasks? " );
485maximum_tasks = getint();
486size_tasks = PER_TASK * maximum_tasks;
487total_size += size_tasks;
488
489printf( "What is maximum_semaphores? " );
490maximum_sems = getint();
491size_sems = PER_SEMAPHORE * maximum_sems;
492total_size += size_sems;
493
494printf( "What is maximum_timers? " );
495maximum_timers = getint();
496size_timers = PER_TIMER * maximum_timers;
497total_size += size_timers;
498
499printf( "What is maximum_message_queues? " );
500maximum_msgqs = getint();
501size_msgqs = PER_MSGQ * maximum_msgqs;
502total_size += size_msgqs;
503
504printf( "What is maximum_messages?  XXXX " );
505maximum_msgs = getint();
506size_msgs_overhead = 0;
507total_size += size_msgs_overhead;
508
509printf( "What is maximum_regions? " );
510maximum_regns = getint();
511size_regns = PER_REGN * maximum_regns;
512total_size += size_regns;
513
514printf( "What is maximum_partitions? " );
515maximum_parts = getint();
516size_parts = PER_PART * maximum_parts;
517total_size += size_parts;
518
519printf( "What is maximum_ports? " );
520maximum_ports = getint();
521size_ports = PER_PORT * maximum_ports;
522total_size += size_ports;
523
524printf( "What is maximum_periods? " );
525maximum_periods = getint();
526size_periods = PER_PORT * maximum_periods;
527total_size += size_periods;
528
529printf( "What is maximum_extensions? " );
530maximum_extensions = getint();
531size_extensions = PER_EXTENSION * maximum_extensions;
532total_size += size_extensions;
533
534printf( "What is number_of_device_drivers? " );
535maximum_drvs = getint();
536size_drvs = PER_DRV  * maximum_drvs;
537total_size += size_drvs;
538
539printf( "What will be total stack requirement for all tasks? " );
540task_stacks = getint();
541total_size += task_stacks;
542
543printf( "What is the size of the interrupt stack? " );
544interrupt_stack = getint();
545total_size += interrupt_stack;
546
547printf( "How many tasks will be created with the FP flag? " );
548maximum_fps = getint();
549size_fps = PER_FPTASK  * maximum_fps;
550total_size += size_fps;
551
552printf( "Is this a single processor system? " );
553for ( break_loop=0 ; !break_loop; c = getchar() ) {
554  switch ( c ) {
555    case 'Y':  case 'y':
556    case 'N':  case 'n':
557      break_loop = 1;
558      break;
559  }
560}
561printf( "%c\n", c );
562if ( c == 'n' || c == 'N' ) {
563  printf( "What is maximum_nodes? " );
564  maximum_nodes = getint();
565  size_nodes = PER_NODE * maximum_nodes;
566  total_size += size_nodes;
567  printf( "What is maximum_global_objects? " );
568  maximum_gobjs = getint();
569  size_gobjs = PER_GOBJECT * maximum_gobjs;
570  total_size += size_gobjs;
571  printf( "What is maximum_proxies? " );
572  maximum_proxies = getint();
573  size_proxies = PER_PROXY * maximum_proxies;
574  total_size += size_proxies;
575} else {
576  maximum_nodes = 0;
577  size_nodes = PER_NODE * 0;
578  maximum_gobjs = 0;
579  size_gobjs = PER_GOBJECT * 0;
580  maximum_proxies = 0;
581  size_proxies = PER_PROXY * 0;
582}
583
584printf( "\n\n" );
585printf( " ************** EXECUTIVE WORK SPACE REQUIRED **************\n" );
586printf( " Tasks                - %03d * %03ld            =  %ld\n",
587          maximum_tasks, PER_TASK, (long) size_tasks );
588printf( " Semaphores           - %03d * %03ld            =  %ld\n",
589          maximum_sems, PER_SEMAPHORE, (long) size_sems );
590printf( " Timers               - %03d * %03ld            =  %ld\n",
591          maximum_timers, PER_TIMER, (long) size_timers );
592printf( " Msg Queues           - %03d * %03ld            =  %ld\n",
593          maximum_msgqs, PER_MSGQ, (long) size_msgqs );
594printf( " Messages Overhead    - %03d * %03d            =  %ld\n",
595          maximum_msgs, 0 /* PER_MSG_OVERHEAD */, (long) size_msgs_overhead );
596printf( " Regions              - %03d * %03ld            =  %ld\n",
597          maximum_regns, PER_REGN, (long) size_regns);
598printf( " Partitions           - %03d * %03ld            =  %ld\n",
599          maximum_parts, PER_PART, (long) size_parts );
600printf( " Periods              - %03d * %03ld            =  %ld\n",
601          maximum_periods, PER_PERIOD, (long) size_periods );
602printf( " Extensions           - %03d * %03ld            =  %ld\n",
603          maximum_extensions, PER_EXTENSION, (long) size_extensions );
604printf( " Device Drivers       - %03d * %03ld            =  %ld\n",
605          maximum_drvs, PER_DRV, (long) size_drvs );
606
607printf( " System Requirements  - %04d                 =  %d\n",
608          sys_req, sys_req );
609
610printf( " Floating Point Tasks - %03d * %03ld            =  %ld\n",
611          maximum_fps, PER_FPTASK, (long) size_fps );
612printf( " Application Task Stacks -                     =  %d\n",
613          task_stacks );
614printf( " Interrupt Stacks -                            =  %d\n",
615          task_stacks );
616printf( " \n" );
617printf( " Global object tables - %03d * %03ld            =  %ld\n",
618          maximum_nodes, PER_NODE, (long) size_nodes );
619printf( " Global objects       - %03d * %03ld            =  %ld\n",
620          maximum_gobjs, PER_GOBJECT, (long) size_gobjs );
621printf( " Proxies              - %03d * %03ld            =  %ld\n",
622          maximum_proxies, PER_PROXY, (long) size_proxies );
623printf( "\n\n" );
624printf( " TOTAL                                       = %d bytes\n",
625      total_size );
626}
627
628void print_formula()
629{
630printf( " ************** EXECUTIVE WORK SPACE FORMULA **************\n" );
631printf( " Tasks                - maximum_tasks * %ld\n",      PER_TASK );
632printf( " Timers               - maximum_timers * %ld\n",     PER_TIMER );
633printf( " Semaphores           - maximum_semaphores * %ld\n", PER_SEMAPHORE);
634printf( " Message Queues       - maximum_message_queues * %ld\n", PER_MSGQ );
635printf( " Messages             -\n");
636printf( " Regions              - maximum_regions * %ld\n",    PER_REGN );
637printf( " Partitions           - maximum_partitions * %ld\n", PER_PART );
638printf( " Ports                - maximum_ports * %ld\n",      PER_PORT );
639printf( " Periods              - maximum_periods * %ld\n",    PER_PORT );
640printf( " Extensions           - maximum_extensions * %ld\n", PER_EXTENSION );
641printf( " Device Drivers       - number_of_device_drivers * %ld\n", PER_DRV);
642printf( " System Requirements  - %d\n",                       sys_req );
643printf( " Floating Point Tasks - FPMASK Tasks * %ld\n",       PER_FPTASK );
644printf( " User's Tasks' Stacks -\n" );
645printf( " Interrupt Stack      -\n" );
646printf( " \n" );
647printf( " Global object tables - maximum_nodes * %ld\n",          PER_NODE );
648printf( " Global objects       - maximum_global_objects * %ld\n", PER_GOBJECT );
649printf( " Proxies              - maximum_proxies * %ld\n",        PER_PROXY );
650}
Note: See TracBrowser for help on using the repository browser.