Minor tweaks, from Michael McConville
This commit is contained in:
parent
48e186f20f
commit
7c6859f1a8
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: module.9,v 1.37 2015/06/04 01:58:30 pgoyette Exp $
|
||||
.\" $NetBSD: module.9,v 1.38 2015/10/04 22:51:19 pgoyette Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -27,7 +27,7 @@
|
||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd October 18, 2011
|
||||
.Dd October 5, 2015
|
||||
.Dt MODULE 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -74,8 +74,9 @@ the kernel and reboot.
|
||||
Modules can be loaded from within the kernel image, provided by the boot
|
||||
loader, or loaded from the file system.
|
||||
.Pp
|
||||
Two data types are relevant for
|
||||
.Nm :
|
||||
The
|
||||
.Nm
|
||||
subsystem includes two data types:
|
||||
.Bl -enum -offset indent
|
||||
.It
|
||||
The
|
||||
@ -84,10 +85,13 @@ type provides storage to describe a module.
|
||||
.It
|
||||
The
|
||||
.Vt modinfo_t
|
||||
type resides within the module itself, and contains module header info.
|
||||
type resides within
|
||||
.Vt module_t
|
||||
and contains module header info.
|
||||
.El
|
||||
.Pp
|
||||
The module subsystem is protected by the global kernconfig_mutex.
|
||||
The module subsystem is protected by the global
|
||||
.Va kernconfig_mutex .
|
||||
.Sh FUNCTIONS
|
||||
.Bl -tag -width abcd
|
||||
.It Fn MODULE "class" "name" "required"
|
||||
|
Loading…
x
Reference in New Issue
Block a user