summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_interface.h
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-01-09 17:21:42 +0000
committermpi <mpi@openbsd.org>2017-01-09 17:21:42 +0000
commit47ded3d0b20f2f65a1b84a914fdec73347eacbf9 (patch)
treec54a7206d98d0cb3d5b018c3ea40e367793bc891 /sys/ddb/db_interface.h
parentGrab the NET_LOCK() in various callbacks. (diff)
downloadwireguard-openbsd-47ded3d0b20f2f65a1b84a914fdec73347eacbf9.tar.xz
wireguard-openbsd-47ded3d0b20f2f65a1b84a914fdec73347eacbf9.zip
Stop and restart the watchdog timer when entering and leaving ddb(4).
From Christian Ludwig.
Diffstat (limited to 'sys/ddb/db_interface.h')
-rw-r--r--sys/ddb/db_interface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ddb/db_interface.h b/sys/ddb/db_interface.h
index 77602d2cc98..36d80b8a867 100644
--- a/sys/ddb/db_interface.h
+++ b/sys/ddb/db_interface.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.h,v 1.17 2016/01/15 11:21:58 dlg Exp $ */
+/* $OpenBSD: db_interface.h,v 1.18 2017/01/09 17:21:42 mpi Exp $ */
/* $NetBSD: db_interface.h,v 1.1 1996/02/05 01:57:03 christos Exp $ */
/*
@@ -45,6 +45,10 @@ void db_show_all_procs(db_expr_t, int, db_expr_t, char *);
/* kern/kern_timeout.c */
void db_show_callout(db_expr_t, int, db_expr_t, char *);
+/* kern/kern_watchdog.c */
+void db_wdog_disable(void);
+void db_wdog_enable(void);
+
struct mount;
/* kern/vfs_subr.c */