summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-01 19:42:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-01 19:42:39 +0000
commit499d443996fc62aedd4b9134f59c06b7de105417 (patch)
treec9991b22f83796dcede9d3ffbe22cbb2cb034592
parent5ede970698867dff1cd8ebb9b8f80641c0b7ccd4 (diff)
downloadrtems-499d443996fc62aedd4b9134f59c06b7de105417.tar.bz2
Look at both hardware and software FP settings.
-rw-r--r--c/src/exec/score/include/rtems/score/thread.h4
-rw-r--r--cpukit/score/include/rtems/score/thread.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/exec/score/include/rtems/score/thread.h b/c/src/exec/score/include/rtems/score/thread.h
index 4d77d43c19..07f5d2a504 100644
--- a/c/src/exec/score/include/rtems/score/thread.h
+++ b/c/src/exec/score/include/rtems/score/thread.h
@@ -217,7 +217,7 @@ struct Thread_Control_struct {
Priority_Information Priority_map;
Thread_Start_information Start;
Context_Control Registers;
-#if ( CPU_HARDWARE_FP == TRUE )
+#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
void *fp_context;
#endif
void *API_Extensions[ THREAD_API_LAST + 1 ];
@@ -312,7 +312,7 @@ SCORE_EXTERN Thread_Control *_Thread_Heir;
* context is currently loaded.
*/
-#if ( CPU_HARDWARE_FP == TRUE )
+#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
SCORE_EXTERN Thread_Control *_Thread_Allocated_fp;
#endif
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 4d77d43c19..07f5d2a504 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -217,7 +217,7 @@ struct Thread_Control_struct {
Priority_Information Priority_map;
Thread_Start_information Start;
Context_Control Registers;
-#if ( CPU_HARDWARE_FP == TRUE )
+#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
void *fp_context;
#endif
void *API_Extensions[ THREAD_API_LAST + 1 ];
@@ -312,7 +312,7 @@ SCORE_EXTERN Thread_Control *_Thread_Heir;
* context is currently loaded.
*/
-#if ( CPU_HARDWARE_FP == TRUE )
+#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
SCORE_EXTERN Thread_Control *_Thread_Allocated_fp;
#endif