summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-20 15:35:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 09:37:28 +0200
commitcea5ff700166a24b5da300cf0aa6884164600ed3 (patch)
treefc36240554ec8c1da94dfe58bb414aea4fc870e2 /cpukit/score/include
parent7ed377bc69e8cf96b989018322dc43bc0f2d2e36 (diff)
downloadrtems-cea5ff700166a24b5da300cf0aa6884164600ed3.tar.bz2
score: Add _Watchdog_Nanoseconds_per_tick
Move it from the configuration to a separate variable. Update #3117. Update #3182.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/watchdog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/watchdog.h b/cpukit/score/include/rtems/score/watchdog.h
index 8c3710334b..a379bf7a23 100644
--- a/cpukit/score/include/rtems/score/watchdog.h
+++ b/cpukit/score/include/rtems/score/watchdog.h
@@ -159,6 +159,14 @@ struct Watchdog_Control {
extern volatile Watchdog_Interval _Watchdog_Ticks_since_boot;
/**
+ * @brief The watchdog nanoseconds per tick.
+ *
+ * This constant is defined by the application configuration via
+ * <rtems/confdefs.h>.
+ */
+extern const uint32_t _Watchdog_Nanoseconds_per_tick;
+
+/**
* @brief The watchdog ticks per second.
*
* This constant is defined by the application configuration via