diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-26 19:28:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-26 19:28:11 +0000 |
commit | ca7858bb8856f1afcc537f39763b7c951e5068d3 (patch) | |
tree | 3f01b3bb41ce9b2d7bc16c300391382918758caf /c/src/tests/sptests/spsize | |
parent | Port of RTEMS to the Texas Instruments C3x/C4x DSP families including (diff) | |
download | rtems-ca7858bb8856f1afcc537f39763b7c951e5068d3.tar.bz2 |
Port of RTEMS to the Texas Instruments C3x/C4x DSP families including
a BSP (c4xsim) supporting the simulator included with gdb. This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.
An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU. This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
Diffstat (limited to 'c/src/tests/sptests/spsize')
-rw-r--r-- | c/src/tests/sptests/spsize/size.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/tests/sptests/spsize/size.c b/c/src/tests/sptests/spsize/size.c index c7cae3bce0..3ceddcf699 100644 --- a/c/src/tests/sptests/spsize/size.c +++ b/c/src/tests/sptests/spsize/size.c @@ -356,7 +356,9 @@ uninitialized = (sizeof _Thread_Ready_chain) + (sizeof _Thread_Executing) + (sizeof _Thread_Heir) + +#if (CPU_HARDWARE_FP == 1) || (CPU_SOFTWARE_FP == 1) (sizeof _Thread_Allocated_fp) + +#endif (sizeof _Thread_Internal_information) + (sizeof _Thread_Idle) + |