Changeset 3652ad35 in rtems for testsuites/sptests/spsize


Ignore:
Timestamp:
Sep 19, 1995, 2:53:29 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
38ffa0c
Parents:
b3ac6a8d
Message:

Minor bug fixes to get all targets compilable and running. The
single biggest changes were the expansion of the workspace size
macro to include other types of objects and the increase in the
minimum stack size for most CPUs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsize/size.c

    rb3ac6a8d r3652ad35  
    6767#define PER_MSGQ      \
    6868     (sizeof (Message_queue_Control) + NAME_PTR_SIZE)
    69 #define PER_MSG_OVERHEAD       \
    70      (sizeof (Message_queue_Buffer_control))
    7169#define PER_REGN      \
    7270     (sizeof (Region_Control) + NAME_PTR_SIZE)
     
    480478total_size += size_msgqs;
    481479
    482 printf( "What is maximum_messages? " );
     480printf( "What is maximum_messages?  XXXX " );
    483481maximum_msgs = getint();
    484 size_msgs_overhead = PER_MSG_OVERHEAD * maximum_msgs;
     482size_msgs_overhead = 0;
    485483total_size += size_msgs_overhead;
    486484
     
    571569          maximum_msgqs, PER_MSGQ, size_msgqs );
    572570printf( " Messages Overhead    - %03d * %03d            =  %d\n",
    573           maximum_msgs, PER_MSG_OVERHEAD, size_msgs_overhead );
     571          maximum_msgs, 0 /* PER_MSG_OVERHEAD */, size_msgs_overhead );
    574572printf( " Regions              - %03d * %03d            =  %d\n",
    575573          maximum_regns, PER_REGN, size_regns);
Note: See TracChangeset for help on using the changeset viewer.