source: rtems/cpukit/score/src/watchdogtickssinceboot.c @ 21275b58

5
Last change on this file since 21275b58 was ccc6695, checked in by Sebastian Huber <sebastian.huber@…>, on 11/08/18 at 10:50:24

score: Introduce <rtems/score/watchdogticks.h>

Separate the definitions related to watchdog ticks from the watchdog
structures.

Update #3598.

  • Property mode set to 100644
File size: 748 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Watchdog Ticks Since Boot
5 *  @ingroup ScoreWatchdog
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2009.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.org/license/LICENSE.
15 */
16
17#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/score/watchdogticks.h>
22
23/*
24 * This is defined in a separate module to allow the new network to define it
25 * with an additional strong reference.  Strong references cannot alias a
26 * common symbol.  Since the GCC option -fno-common is not used throughout
27 * RTEMS we cannot define it here.
28 */
29volatile Watchdog_Interval _Watchdog_Ticks_since_boot;
Note: See TracBrowser for help on using the repository browser.