source: rtems/cpukit/score/src/watchdog.c @ 2369b10

4.115
Last change on this file since 2369b10 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 760 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Watchdog Handler Initialization
5 *  @ingroup ScoreWatchdog
6 */
7
8/*
9 *  Watchdog Handler
10 *
11 *
12 *  COPYRIGHT (c) 1989-1999.
13 *  On-Line Applications Research Corporation (OAR).
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.rtems.org/license/LICENSE.
18 */
19
20#if HAVE_CONFIG_H
21#include "config.h"
22#endif
23
24#include <rtems/system.h>
25#include <rtems/score/isr.h>
26#include <rtems/score/watchdogimpl.h>
27
28void _Watchdog_Handler_initialization( void )
29{
30  _Watchdog_Sync_count = 0;
31  _Watchdog_Sync_level = 0;
32  _Watchdog_Ticks_since_boot = 0;
33
34  _Chain_Initialize_empty( &_Watchdog_Ticks_chain );
35  _Chain_Initialize_empty( &_Watchdog_Seconds_chain );
36}
Note: See TracBrowser for help on using the repository browser.