summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/watchdogtickssinceboot.c
blob: b255c4ee6ea50ab33d4fa9a8947f96b9ec28c54c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 *  @file
 *
 *  @brief Watchdog Ticks Since Boot
 *  @ingroup RTEMSScoreWatchdog
 */

/*
 *  COPYRIGHT (c) 1989-2009.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <rtems/score/watchdogticks.h>

/*
 * This is defined in a separate module to allow the new network to define it
 * with an additional strong reference.  Strong references cannot alias a
 * common symbol.  Since the GCC option -fno-common is not used throughout
 * RTEMS we cannot define it here.
 */
volatile Watchdog_Interval _Watchdog_Ticks_since_boot;