source: rtems/cpukit/score/src/watchdog.c @ 4fc370e

4.115
Last change on this file since 4fc370e was f2f63d1, checked in by Alex Ivanov <alexivanov97@…>, on 11/29/12 at 23:14:28

score misc: Score misc: Clean up Doxygen #7 (GCI 2012)

This patch is a task from GCI 2012 which improves the Doxygen
comments in the RTEMS source.

https://google-melange.appspot.com/gci/task/view/google/gci2012/7986214

  • Property mode set to 100644
File size: 756 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.com/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/watchdog.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.