wdt.h revision 77d1565c06c50a8eb957f25b30dd76fab299ff2e
209N/A/*
209N/A * CDDL HEADER START
209N/A *
209N/A * The contents of this file are subject to the terms of the
209N/A * Common Development and Distribution License (the "License").
209N/A * You may not use this file except in compliance with the License.
209N/A *
209N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
209N/A * or http://www.opensolaris.org/os/licensing.
209N/A * See the License for the specific language governing permissions
209N/A * and limitations under the License.
209N/A *
209N/A * When distributing Covered Code, include this CDDL HEADER in each
209N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
209N/A * If applicable, add the following below this CDDL HEADER, with the
209N/A * fields enclosed by brackets "[]" replaced with your own identifying
209N/A * information: Portions Copyright [yyyy] [name of copyright owner]
209N/A *
209N/A * CDDL HEADER END
209N/A */
209N/A/*
209N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3996N/A * Use is subject to license terms.
209N/A */
209N/A
209N/A#ifndef _SYS_WDT_H
209N/A#define _SYS_WDT_H
209N/A
611N/A#pragma ident "%Z%%M% %I% %E% SMI"
611N/A
618N/A#ifdef __cplusplus
611N/Aextern "C" {
209N/A#endif
844N/A
844N/Aextern void watchdog_init(void);
611N/Aextern void watchdog_pat(void);
1273N/Aextern void watchdog_suspend(void);
209N/Aextern void watchdog_resume(void);
3661N/Aextern void watchdog_clear(void);
3661N/Aextern void restore_watchdog_on_entry(void);
3996N/A
3996N/Aextern int watchdog_enabled;
3996N/Aextern int watchdog_activated;
3996N/A
209N/A#ifdef __cplusplus
209N/A}
209N/A#endif
209N/A
209N/A#endif /* _SYS_WDT_H */
209N/A