diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-10-30 21:54:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-10-30 21:54:45 +0000 |
commit | 97005786d89fd7a57b5fe82f713cea739916f3da (patch) | |
tree | cfff15a6bc93114480ecd20f6afddde3dcd74470 /cpukit/score/src/thread.c | |
parent | reordered test cases from simple to complex (diff) | |
download | rtems-97005786d89fd7a57b5fe82f713cea739916f3da.tar.bz2 |
SPARC port passes all tests
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/thread.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index d384b75788..b44da17c67 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/score/src/thread.c @@ -805,9 +805,12 @@ void _Thread_Load_environment( Thread_Control *the_thread ) { + boolean is_fp = FALSE; + 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; } the_thread->is_preemptible = the_thread->Start.is_preemptible; @@ -818,7 +821,8 @@ void _Thread_Load_environment( the_thread->Start.Initial_stack.area, the_thread->Start.Initial_stack.size, the_thread->Start.isr_level, - _Thread_Handler + _Thread_Handler, + is_fp ); } |