From d45e58ad731761c5ee7051580c01c0a05c8d9322 Mon Sep 17 00:00:00 2001 From: smkelly Date: Thu, 26 Jun 2003 09:50:52 +0000 Subject: - Add a software watchdog facility. This commit has two pieces. One half is the watchdog kernel code which lives primarily in hardclock() in sys/kern/kern_clock.c. The other half is a userland daemon which, when run, will keep the watchdog from firing while the userland is intact and functioning. Approved by: jeff (mentor) --- sys/conf/NOTES | 7 +++++++ sys/conf/options | 1 + 2 files changed, 8 insertions(+) (limited to 'sys/conf') diff --git a/sys/conf/NOTES b/sys/conf/NOTES index f616f88..c0c8df0 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2065,6 +2065,13 @@ options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP options HW_WDOG # +# Add software watchdog routines. This will add some sysctl OIDs that +# can be used in combination with an external daemon to create a +# software-based watchdog solution. +# +options WATCHDOG + +# # Disable swapping of upages and stack pages. This option removes all # code which actually performs swapping, so it's not possible to turn # it back on at run-time. diff --git a/sys/conf/options b/sys/conf/options index cf0f70d..9d3c724 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -442,6 +442,7 @@ MUTEX_PROFILING opt_global.h NPX_DEBUG opt_debug_npx.h NETATALKDEBUG opt_atalk.h SI_DEBUG opt_debug_si.h +WATCHDOG opt_watchdog.h # Fb options FB_DEBUG opt_fb.h -- cgit v1.1