summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-14 13:36:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-25 07:15:19 +0100
commit5180762ccb480e72c0dac5eb3c8c27a2ad62a240 (patch)
tree484ebfde56a8ab000eaa09c2717388d4b68b1aaa /cpukit/include/rtems/config.h
parentconfig: Add _Thread_Idle_stack_size (diff)
downloadrtems-5180762ccb480e72c0dac5eb3c8c27a2ad62a240.tar.bz2
config: Add _Thread_Idle_body
Move the idle thread body configuration constant out of the configuration table. Provide a default definition of the idle thread body constant. Update #3875.
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r--cpukit/include/rtems/config.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index 62804be41c..017b4ed476 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -87,12 +87,6 @@ typedef struct {
*/
uintptr_t work_space_size;
- /**
- * This element points to the BSP's optional idle task which may override
- * the default one provided with RTEMS.
- */
- void *(*idle_task)( uintptr_t );
-
/**
* @brief Specifies if a unified work area is used or not.
*
@@ -155,7 +149,7 @@ uint32_t rtems_configuration_get_maximum_extensions( void );
(_Watchdog_Ticks_per_timeslice)
#define rtems_configuration_get_idle_task() \
- (Configuration.idle_task)
+ (_Thread_Idle_entry)
#define rtems_configuration_get_idle_task_stack_size() \
(_Thread_Idle_stack_size)