summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/watchdogtickssinceboot.c
blob: b746f087f4fdb588904d4e6219c65854feada35d (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
30
31
/**
 * @file
 *
 * @ingroup RTEMSScoreWatchdog
 *
 * @brief This source file contains the definition of
 *   ::_Watchdog_Ticks_since_boot.
 */

/*
 *  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.
 */

#ifdef 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;