diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-10-30 21:54:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-10-30 21:54:45 +0000 |
commit | 97005786d89fd7a57b5fe82f713cea739916f3da (patch) | |
tree | cfff15a6bc93114480ecd20f6afddde3dcd74470 /c/src/tests/sptests/spsize/size.c | |
parent | reordered test cases from simple to complex (diff) | |
download | rtems-97005786d89fd7a57b5fe82f713cea739916f3da.tar.bz2 |
SPARC port passes all tests
Diffstat (limited to '')
-rw-r--r-- | c/src/tests/sptests/spsize/size.c | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/c/src/tests/sptests/spsize/size.c b/c/src/tests/sptests/spsize/size.c index 474095972a..91ccbfb1a3 100644 --- a/c/src/tests/sptests/spsize/size.c +++ b/c/src/tests/sptests/spsize/size.c @@ -390,6 +390,22 @@ uninitialized += (sizeof _CPU_Interrupt_stack_low) + #endif +#ifdef sparc + +/* cpu.h */ +uninitialized += (sizeof _CPU_Interrupt_stack_low) + + (sizeof _CPU_Interrupt_stack_high) + + (sizeof _CPU_Null_fp_context) + + (sizeof _CPU_Trap_Table_area); + +#ifdef erc32 +uninitialized += (sizeof _ERC32_MEC_Timer_Control_Mirror); +#endif + + +#endif + + #ifdef no_cpu /* cpu.h */ @@ -421,13 +437,16 @@ initialized += (sizeof _TOD_Days_to_date) + (sizeof _TOD_Days_since_last_leap_year); +#ifdef sparc + +initialized += (sizeof _CPU_Trap_slot_template); + +#endif + puts( "" ); -#ifdef i960CA - print_formula(); -#else + if ( mode == 0 ) help_size(); else print_formula(); -#endif printf( "\n" ); printf( "RTEMS uninitialized data consumes %d bytes\n", uninitialized ); |