diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-19 14:53:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-09-19 14:53:29 +0000 |
commit | 3652ad356bf13abe0963c992cbbda96476d31609 (patch) | |
tree | 8ae01f1eec49c8fabc0a3db3d5b58b29a61428f2 /c/src/tests/sptests/spsize | |
parent | Initial attempt at building HP PA-RISC using Solaris hosted tools. (diff) | |
download | rtems-3652ad356bf13abe0963c992cbbda96476d31609.tar.bz2 |
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.
Diffstat (limited to 'c/src/tests/sptests/spsize')
-rw-r--r-- | c/src/tests/sptests/spsize/size.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/c/src/tests/sptests/spsize/size.c b/c/src/tests/sptests/spsize/size.c index 93bda6ccf9..ed9bd59f7a 100644 --- a/c/src/tests/sptests/spsize/size.c +++ b/c/src/tests/sptests/spsize/size.c @@ -66,8 +66,6 @@ (sizeof (Timer_Control) + NAME_PTR_SIZE) #define PER_MSGQ \ (sizeof (Message_queue_Control) + NAME_PTR_SIZE) -#define PER_MSG_OVERHEAD \ - (sizeof (Message_queue_Buffer_control)) #define PER_REGN \ (sizeof (Region_Control) + NAME_PTR_SIZE) #define PER_PART \ @@ -479,9 +477,9 @@ maximum_msgqs = getint(); size_msgqs = PER_MSGQ * maximum_msgqs; total_size += size_msgqs; -printf( "What is maximum_messages? " ); +printf( "What is maximum_messages? XXXX " ); maximum_msgs = getint(); -size_msgs_overhead = PER_MSG_OVERHEAD * maximum_msgs; +size_msgs_overhead = 0; total_size += size_msgs_overhead; printf( "What is maximum_regions? " ); @@ -570,7 +568,7 @@ printf( " Timers - %03d * %03d = %d\n", printf( " Msg Queues - %03d * %03d = %d\n", maximum_msgqs, PER_MSGQ, size_msgqs ); printf( " Messages Overhead - %03d * %03d = %d\n", - maximum_msgs, PER_MSG_OVERHEAD, size_msgs_overhead ); + maximum_msgs, 0 /* PER_MSG_OVERHEAD */, size_msgs_overhead ); printf( " Regions - %03d * %03d = %d\n", maximum_regns, PER_REGN, size_regns); printf( " Partitions - %03d * %03d = %d\n", |