From 17508d02bba1d47f4cf884b190566e72f69adb4e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 26 Jul 2000 19:26:28 +0000 Subject: 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. --- c/src/exec/score/src/thread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c/src/exec/score/src/thread.c') diff --git a/c/src/exec/score/src/thread.c b/c/src/exec/score/src/thread.c index 9cb197e5bc..c71f025d39 100644 --- a/c/src/exec/score/src/thread.c +++ b/c/src/exec/score/src/thread.c @@ -63,7 +63,9 @@ void _Thread_Handler_initialization( _Context_Switch_necessary = FALSE; _Thread_Executing = NULL; _Thread_Heir = NULL; +#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) _Thread_Allocated_fp = NULL; +#endif _Thread_Do_post_task_switch_extension = 0; -- cgit v1.2.3