diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-07 16:50:35 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-12 09:08:36 +0100 |
commit | fc398fde77d25c086e109403eddd6de267982653 (patch) | |
tree | b05f699063a0095d0d732d67d894d9dcf8376c72 /cpukit/score/src/threadrestart.c | |
parent | score: Remove _Stack_Ensure_minimum() call (diff) | |
download | rtems-fc398fde77d25c086e109403eddd6de267982653.tar.bz2 |
score: Simplify FP context allocation
Use the stack area to allocate the FP context. This considerably
simplifies the application configuration since the task count no longer
influences the configured work space size. With this change the stack
space size is overestimated since an FP context for each thread is
accounted. Memory constraint applications can use the stack size for
fine tuning.
Update #3835.
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r-- | cpukit/score/src/threadrestart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index 6ff9b44515..aa47fefd1f 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -172,8 +172,6 @@ static void _Thread_Free( Thread_Control *the_thread ) if ( _Thread_Is_allocated_fp( the_thread ) ) _Thread_Deallocate_fp(); #endif - - _Workspace_Free( the_thread->Start.fp_context ); #endif _Freechain_Put( |