OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [score/] [src/] [watchdog.c] - Blame information for rev 1780

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
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
 *  watchdog.c,v 1.15 1999/11/17 17:50:43 joel Exp
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
 
30
void _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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.