Module Name: src
Committed By: matt
Date: Fri Jan 7 01:13:42 UTC 2011
Modified Files:
src/sys/sys [matt-nb5-pq3]: systm.h
Log Message:
Add critpollhooks.
To generate a diff of this commit:
cvs rdiff -u -r1.228.4.2 -r1.228.4.2.8.1 src/sys/sys/systm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/systm.h
diff -u src/sys/sys/systm.h:1.228.4.2 src/sys/sys/systm.h:1.228.4.2.8.1
--- src/sys/sys/systm.h:1.228.4.2 Sun Mar 15 19:43:48 2009
+++ src/sys/sys/systm.h Fri Jan 7 01:13:41 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: systm.h,v 1.228.4.2 2009/03/15 19:43:48 snj Exp $ */
+/* $NetBSD: systm.h,v 1.228.4.2.8.1 2011/01/07 01:13:41 matt Exp $ */
/*-
* Copyright (c) 1982, 1988, 1991, 1993
@@ -305,6 +305,14 @@
void setstatclockrate(int);
/*
+ * Critical polling hooks. Functions to be run while the kernel stays
+ * elevated IPL for a "long" time. (watchdogs).
+ */
+void *critpollhook_establish(void (*)(void *), void *);
+void critpollhook_disestablish(void *);
+void docritpollhooks(void);
+
+/*
* Shutdown hooks. Functions to be run with all interrupts disabled
* immediately before the system is halted or rebooted.
*/