diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-26 19:26:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-26 19:26:28 +0000 |
commit | 17508d02bba1d47f4cf884b190566e72f69adb4e (patch) | |
tree | a1b8738fd54754c0210ac709a4b650bc7d3c4538 /c/src/exec/score/src/threadloadenv.c | |
parent | Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-17508d02bba1d47f4cf884b190566e72f69adb4e.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 '')
-rw-r--r-- | c/src/exec/score/src/threadloadenv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/score/src/threadloadenv.c b/c/src/exec/score/src/threadloadenv.c index c3493eeccd..af1233f709 100644 --- a/c/src/exec/score/src/threadloadenv.c +++ b/c/src/exec/score/src/threadloadenv.c @@ -45,11 +45,13 @@ void _Thread_Load_environment( { boolean is_fp = FALSE; +#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) if ( the_thread->Start.fp_context ) { the_thread->fp_context = the_thread->Start.fp_context; _Context_Initialize_fp( &the_thread->fp_context ); is_fp = TRUE; } +#endif the_thread->do_post_task_switch_extension = FALSE; the_thread->is_preemptible = the_thread->Start.is_preemptible; |