1*77d1565cSae112802 /* 2*77d1565cSae112802 * CDDL HEADER START 3*77d1565cSae112802 * 4*77d1565cSae112802 * The contents of this file are subject to the terms of the 5*77d1565cSae112802 * Common Development and Distribution License (the "License"). 6*77d1565cSae112802 * You may not use this file except in compliance with the License. 7*77d1565cSae112802 * 8*77d1565cSae112802 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*77d1565cSae112802 * or http://www.opensolaris.org/os/licensing. 10*77d1565cSae112802 * See the License for the specific language governing permissions 11*77d1565cSae112802 * and limitations under the License. 12*77d1565cSae112802 * 13*77d1565cSae112802 * When distributing Covered Code, include this CDDL HEADER in each 14*77d1565cSae112802 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*77d1565cSae112802 * If applicable, add the following below this CDDL HEADER, with the 16*77d1565cSae112802 * fields enclosed by brackets "[]" replaced with your own identifying 17*77d1565cSae112802 * information: Portions Copyright [yyyy] [name of copyright owner] 18*77d1565cSae112802 * 19*77d1565cSae112802 * CDDL HEADER END 20*77d1565cSae112802 */ 21*77d1565cSae112802 /* 22*77d1565cSae112802 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*77d1565cSae112802 * Use is subject to license terms. 24*77d1565cSae112802 */ 25*77d1565cSae112802 26*77d1565cSae112802 #ifndef _SYS_WDT_H 27*77d1565cSae112802 #define _SYS_WDT_H 28*77d1565cSae112802 29*77d1565cSae112802 #pragma ident "%Z%%M% %I% %E% SMI" 30*77d1565cSae112802 31*77d1565cSae112802 #ifdef __cplusplus 32*77d1565cSae112802 extern "C" { 33*77d1565cSae112802 #endif 34*77d1565cSae112802 35*77d1565cSae112802 extern void watchdog_init(void); 36*77d1565cSae112802 extern void watchdog_pat(void); 37*77d1565cSae112802 extern void watchdog_suspend(void); 38*77d1565cSae112802 extern void watchdog_resume(void); 39*77d1565cSae112802 extern void watchdog_clear(void); 40*77d1565cSae112802 extern void restore_watchdog_on_entry(void); 41*77d1565cSae112802 42*77d1565cSae112802 extern int watchdog_enabled; 43*77d1565cSae112802 extern int watchdog_activated; 44*77d1565cSae112802 45*77d1565cSae112802 #ifdef __cplusplus 46*77d1565cSae112802 } 47*77d1565cSae112802 #endif 48*77d1565cSae112802 49*77d1565cSae112802 #endif /* _SYS_WDT_H */ 50