source: rtems/cpukit/score/src/watchdog.c @ 2728d9cf

4.104.114.84.95
Last change on this file since 2728d9cf was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 803 bytes
Line 
1/*
2 *  Watchdog Handler
3 *
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#include <rtems/system.h>
16#include <rtems/score/isr.h>
17#include <rtems/score/watchdog.h>
18
19/*PAGE
20 *
21 *  _Watchdog_Handler_initialization
22 *
23 *  This routine initializes the watchdog handler.
24 *
25 *  Input parameters:  NONE
26 *
27 *  Output parameters: NONE
28 */
29
30void _Watchdog_Handler_initialization( void )
31{
32  _Watchdog_Sync_count = 0;
33  _Watchdog_Sync_level = 0;
34  _Watchdog_Ticks_since_boot = 0;
35
36  _Chain_Initialize_empty( &_Watchdog_Ticks_chain );
37  _Chain_Initialize_empty( &_Watchdog_Seconds_chain );
38}
Note: See TracBrowser for help on using the repository browser.