[Midnightbsd-cvs] src [12323] trunk/sys/sys/watchdog.h: sync with FreeBSD 11-stable

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Feb 8 14:49:57 EST 2020


Revision: 12323
          http://svnweb.midnightbsd.org/src/?rev=12323
Author:   laffer1
Date:     2020-02-08 14:49:56 -0500 (Sat, 08 Feb 2020)
Log Message:
-----------
sync with FreeBSD 11-stable

Modified Paths:
--------------
    trunk/sys/sys/watchdog.h

Modified: trunk/sys/sys/watchdog.h
===================================================================
--- trunk/sys/sys/watchdog.h	2020-02-08 19:49:04 UTC (rev 12322)
+++ trunk/sys/sys/watchdog.h	2020-02-08 19:49:56 UTC (rev 12323)
@@ -27,7 +27,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD: stable/10/sys/sys/watchdog.h 247405 2013-02-27 19:03:31Z alfred $
+ * $FreeBSD: stable/11/sys/sys/watchdog.h 331722 2018-03-29 02:50:57Z eadler $
  */
 #ifndef _SYS_WATCHDOG_H
 #define	_SYS_WATCHDOG_H
@@ -111,6 +111,14 @@
 
 u_int	wdog_kern_last_timeout(void);
 int	wdog_kern_pat(u_int utim);
+
+/*
+ * The following function pointer is used to attach a software watchdog
+ * if no hardware watchdog has been attached, and if the software module
+ * has initialized the function pointer.
+ */
+
+extern void (*wdog_software_attach)(void);
 #endif
 
 #endif /* _SYS_WATCHDOG_H */



More information about the Midnightbsd-cvs mailing list