diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-08 16:22:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-01-08 16:22:22 +0000 |
commit | d135fc52cd9dd02511aecf85654373a868880dff (patch) | |
tree | e17cbca9a8a93489c5f618f597c3253e70372e4c /c | |
parent | removed assert() for stat on non-devices. Now it returns -1. This (diff) | |
download | rtems-d135fc52cd9dd02511aecf85654373a868880dff.tar.bz2 |
_CPU_Trap_Table_area is now conditional based on whether or not
the application requires rtems to allocate a trap table
Diffstat (limited to 'c')
-rw-r--r-- | c/src/tests/sptests/spsize/size.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/tests/sptests/spsize/size.c b/c/src/tests/sptests/spsize/size.c index 666f1e1468..5b3385c8e6 100644 --- a/c/src/tests/sptests/spsize/size.c +++ b/c/src/tests/sptests/spsize/size.c @@ -393,8 +393,11 @@ uninitialized += (sizeof _CPU_Interrupt_stack_low) + /* cpu.h */ uninitialized += (sizeof _CPU_Interrupt_stack_low) + (sizeof _CPU_Interrupt_stack_high) + - (sizeof _CPU_Null_fp_context) + - (sizeof _CPU_Trap_Table_area); + (sizeof _CPU_Null_fp_context); + +#ifndef NO_TABLE_MOVE +uninitialized += (sizeof _CPU_Trap_Table_area); +#endif #ifdef erc32 uninitialized += (sizeof _ERC32_MEC_Timer_Control_Mirror); |