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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [src/] [watchdog.c] - Blame information for rev 609

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

Line No. Rev Author Line
1 30 unneback
/*
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: watchdog.c,v 1.2 2001-09-27 11:59:34 chris 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.