Deleted Added
sdiff udiff text old ( 162877 ) new ( 164605 )
full compact
1.\"
2.\" Copyright (C) 2006 M. Warner Losh <imp@FreeBSD.org>. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 10 unchanged lines hidden (view full) ---

19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
25.\" DAMAGE.
26.\"
27.\" $FreeBSD: head/share/man/man9/config_intrhook.9 162877 2006-09-30 17:09:59Z ru $
28.\"
29.Dd September 24, 2006
30.Dt CONFIG_INTRHOOK 9
31.Os
32.Sh NAME
33.Nm config_intrhook
34.Nd schedule a function to be run after interrupts have been enabled,
35but before root is mounted

--- 46 unchanged lines hidden (view full) ---

82It must be stable from just before the hook is established until
83after the hook is disestablished.
84.Pp
85Specifically, hooks are run at
86.Fn SI_SUB_INT_CONFIG_HOOKS ,
87which is immeidately after the scheduler is started,
88and just before the root file system device is discovered.
89.Sh RETURN VALUES
90Zero return values mean success.
91Non-zero return values mean failure.
92.Sh SEE ALSO
93.Xr DEVICE_ATTACH 9
94.Sh HISTORY
95These functions were introduced in
96.Fx 3.0
97with the CAM subsystem, but are available for any driver to use.
98.Sh AUTHORS
99.An -nosplit
100The functions were written by
101.An Justin Gibbs Aq gibbs@FreeBSD.org .
102This manual page was written by
103.An M. Warner Losh Aq imp@FreeBSD.org .