config_intrhook.9 (0cc1987013577638a0788636619e51daafb12464) | config_intrhook.9 (9280e5fac29f4ef20541ccc7649f68612cfcb713) |
---|---|
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 --- 70 unchanged lines hidden (view full) --- 79Storage for the 80.Vt intr_config_hook 81structure must be provided by the driver. 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 , | 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 --- 70 unchanged lines hidden (view full) --- 79Storage for the 80.Vt intr_config_hook 81structure must be provided by the driver. 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, | 87which is immediately after the scheduler is started, |
88and just before the root file system device is discovered. 89.Sh RETURN VALUES 90A zero return value means the hook was successfully added to the queue 91(with either deferred or immediate execution). 92A non-zero return value means the hook could not be added to the queue 93because it was already on the queue. 94.Sh SEE ALSO 95.Xr DEVICE_ATTACH 9 96.Sh HISTORY 97These functions were introduced in 98.Fx 3.0 99with the CAM subsystem, but are available for any driver to use. 100.Sh AUTHORS 101.An -nosplit 102The functions were written by 103.An Justin Gibbs Aq gibbs@FreeBSD.org . 104This manual page was written by 105.An M. Warner Losh Aq imp@FreeBSD.org . | 88and just before the root file system device is discovered. 89.Sh RETURN VALUES 90A zero return value means the hook was successfully added to the queue 91(with either deferred or immediate execution). 92A non-zero return value means the hook could not be added to the queue 93because it was already on the queue. 94.Sh SEE ALSO 95.Xr DEVICE_ATTACH 9 96.Sh HISTORY 97These functions were introduced in 98.Fx 3.0 99with the CAM subsystem, but are available for any driver to use. 100.Sh AUTHORS 101.An -nosplit 102The functions were written by 103.An Justin Gibbs Aq gibbs@FreeBSD.org . 104This manual page was written by 105.An M. Warner Losh Aq imp@FreeBSD.org . |