summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-14 12:58:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-25 07:15:18 +0100
commit308a2e0fdcde94b8549dcf9dcdd42eea3cdc9f27 (patch)
tree8506b6d215e4b4578627c749befdf2c98bb0b5b2 /cpukit/include/rtems/config.h
parentconfig: Add _Watchdog_Microseconds_per_tick (diff)
downloadrtems-308a2e0fdcde94b8549dcf9dcdd42eea3cdc9f27.tar.bz2
config: Add _Watchdog_Ticks_per_timeslice
Move the ticks per timeslice configuration constant out of the configuration table. Add WATCHDOG_TICKS_PER_TIMESLICE_DEFAULT and use it to provide a default definition of the watchdog ticks per timeslice constant. Update #3875.
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r--cpukit/include/rtems/config.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index 84917366f3..31a667a1d6 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -87,11 +87,6 @@ typedef struct {
uintptr_t work_space_size;
/**
- * This field specifies the number of ticks in each task's timeslice.
- */
- uint32_t ticks_per_timeslice;
-
- /**
* This element points to the BSP's optional idle task which may override
* the default one provided with RTEMS.
*/
@@ -163,7 +158,7 @@ uint32_t rtems_configuration_get_maximum_extensions( void );
(_Watchdog_Nanoseconds_per_tick)
#define rtems_configuration_get_ticks_per_timeslice() \
- (Configuration.ticks_per_timeslice)
+ (_Watchdog_Ticks_per_timeslice)
#define rtems_configuration_get_idle_task() \
(Configuration.idle_task)