diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-02 21:43:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-09 09:05:50 +0200 |
commit | 335e5caa9a9e0f28acf94fe4c2871017fcd71794 (patch) | |
tree | 13eb37c82f52e2a0e6199eb03aad6590eeabc566 /cpukit/score/src/threadinitialize.c | |
parent | sptests/spcontext01: Improve output (diff) | |
download | rtems-335e5caa9a9e0f28acf94fe4c2871017fcd71794.tar.bz2 |
score: Add Thread_Control::is_fp
Store the floating-point unit property in the thread control block
regardless of the CPU_HARDWARE_FP and CPU_SOFTWARE_FP settings. Make
sure the floating-point unit is only enabled for the corresponding
multilibs. This helps targets which have a volatile only floating point
context like SPARC for example.
Diffstat (limited to 'cpukit/score/src/threadinitialize.c')
-rw-r--r-- | cpukit/score/src/threadinitialize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 2133d7485b..a09693acc0 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -159,6 +159,7 @@ bool _Thread_Initialize( * General initialization */ + the_thread->is_fp = is_fp; the_thread->Start.isr_level = isr_level; the_thread->Start.is_preemptible = is_preemptible; the_thread->Start.budget_algorithm = budget_algorithm; |