diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-08 09:42:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-15 08:37:12 +0200 |
commit | 69aa33490b1cd357519ab70b15ad150e11bb752e (patch) | |
tree | 8aa1ac3807bfe65ae1157629d0ad21548c35a5cb /cpukit/libcsupport/include/rtems | |
parent | score: Static scheduler configuration (diff) | |
download | rtems-69aa33490b1cd357519ab70b15ad150e11bb752e.tar.bz2 |
score: Simplify thread control initialization
The thread control block contains fields that point to application
configuration dependent memory areas, like the scheduler information,
the API control blocks, the user extension context table, the RTEMS
notepads and the Newlib re-entrancy support. Account for these areas in
the configuration and avoid extra workspace allocations for these areas.
This helps also to avoid heap fragementation and reduces the per thread
memory due to a reduced heap allocation overhead.
Diffstat (limited to 'cpukit/libcsupport/include/rtems')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libcsupport.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h index 7d40084ece..c1bb9a191c 100644 --- a/cpukit/libcsupport/include/rtems/libcsupport.h +++ b/cpukit/libcsupport/include/rtems/libcsupport.h @@ -85,11 +85,6 @@ bool newlib_create_hook( #define __RTEMS_NEWLIB_BEGIN 0 -void newlib_delete_hook( - rtems_tcb *current_task, - rtems_tcb *deleted_task -); - void newlib_terminate_hook( rtems_tcb *current_task ); @@ -99,7 +94,7 @@ void newlib_terminate_hook( newlib_create_hook, /* rtems_task_create */ \ 0, /* rtems_task_start */ \ 0, /* rtems_task_restart */ \ - newlib_delete_hook, /* rtems_task_delete */ \ + 0, /* rtems_task_delete */ \ 0, /* task_switch */ \ __RTEMS_NEWLIB_BEGIN, /* task_begin */ \ 0, /* task_exitted */ \ |