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

4.104.114.95
Last change on this file since a1f37a0 was a1f37a0, checked in by Joel Sherrill <joel.sherrill@…>, on 12/04/07 at 22:18:35

2007-12-04 Joel Sherrill <joel.sherrill@…>

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