xref: /illumos-gate/usr/src/uts/sun4/sys/wdt.h (revision 77d1565c)
13c431bb5Swentaoy /*
23c431bb5Swentaoy  * CDDL HEADER START
33c431bb5Swentaoy  *
43c431bb5Swentaoy  * The contents of this file are subject to the terms of the
53c431bb5Swentaoy  * Common Development and Distribution License (the "License").
63c431bb5Swentaoy  * You may not use this file except in compliance with the License.
73c431bb5Swentaoy  *
83c431bb5Swentaoy  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93c431bb5Swentaoy  * or http://www.opensolaris.org/os/licensing.
103c431bb5Swentaoy  * See the License for the specific language governing permissions
113c431bb5Swentaoy  * and limitations under the License.
123c431bb5Swentaoy  *
133c431bb5Swentaoy  * When distributing Covered Code, include this CDDL HEADER in each
143c431bb5Swentaoy  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153c431bb5Swentaoy  * If applicable, add the following below this CDDL HEADER, with the
163c431bb5Swentaoy  * fields enclosed by brackets "[]" replaced with your own identifying
173c431bb5Swentaoy  * information: Portions Copyright [yyyy] [name of copyright owner]
183c431bb5Swentaoy  *
193c431bb5Swentaoy  * CDDL HEADER END
203c431bb5Swentaoy  */
213c431bb5Swentaoy /*
22927a453eSwentaoy  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
233c431bb5Swentaoy  * Use is subject to license terms.
243c431bb5Swentaoy  */
253c431bb5Swentaoy 
263c431bb5Swentaoy #ifndef _SYS_WDT_H
273c431bb5Swentaoy #define	_SYS_WDT_H
283c431bb5Swentaoy 
293c431bb5Swentaoy #pragma ident	"%Z%%M%	%I%	%E% SMI"
303c431bb5Swentaoy 
313c431bb5Swentaoy #ifdef	__cplusplus
323c431bb5Swentaoy extern "C" {
333c431bb5Swentaoy #endif
343c431bb5Swentaoy 
353c431bb5Swentaoy extern void watchdog_init(void);
363c431bb5Swentaoy extern void watchdog_pat(void);
373c431bb5Swentaoy extern void watchdog_suspend(void);
383c431bb5Swentaoy extern void watchdog_resume(void);
393c431bb5Swentaoy extern void watchdog_clear(void);
403c431bb5Swentaoy extern void restore_watchdog_on_entry(void);
413c431bb5Swentaoy 
42927a453eSwentaoy extern int watchdog_enabled;
43927a453eSwentaoy extern int watchdog_activated;
44927a453eSwentaoy 
453c431bb5Swentaoy #ifdef	__cplusplus
463c431bb5Swentaoy }
473c431bb5Swentaoy #endif
483c431bb5Swentaoy 
493c431bb5Swentaoy #endif	/* _SYS_WDT_H */
50