diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-22 16:39:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-08-25 08:57:36 +0200 |
commit | f553c6ebbe4c61b239da07e6b7d70afa3b10828e (patch) | |
tree | cb9f29e134ea35dc017d3fcf431efa8a5d6ae84f /cpukit/score/include/rtems/score/watchdog.h | |
parent | score: Add missing define to cache manager (diff) | |
download | rtems-f553c6ebbe4c61b239da07e6b7d70afa3b10828e.tar.bz2 |
rtems: Inline rtems_clock_get_ticks_since_boot()
Update documentation.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/watchdog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/watchdog.h b/cpukit/score/include/rtems/score/watchdog.h index 7327f77204..06c87a138f 100644 --- a/cpukit/score/include/rtems/score/watchdog.h +++ b/cpukit/score/include/rtems/score/watchdog.h @@ -124,6 +124,13 @@ typedef struct { void *user_data; } Watchdog_Control; +/** + * @brief The watchdog ticks counter. + * + * With a 1ms watchdog tick, this counter overflows after 50 days since boot. + */ +SCORE_EXTERN volatile Watchdog_Interval _Watchdog_Ticks_since_boot; + /**@}*/ #ifdef __cplusplus |