Document sys/uvm/uvm_init.c:uvm_md_init()

This commit is contained in:
cherry 2017-01-02 21:42:01 +00:00
parent b074ee6880
commit 32a513de8f
1 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: uvm.9,v 1.110 2015/03/23 08:19:12 riastradh Exp $
.\" $NetBSD: uvm.9,v 1.111 2017/01/02 21:42:01 cherry Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
.\" All rights reserved.
@ -92,9 +92,15 @@ initializes process limits for the named process.
This is for use by the system startup for process zero, before any
other processes are created.
.Pp
.Fn uvm_md_init
does early boot initialization. This currently includes:
.Fn uvm_setpagesize
initializes the uvmexp members pagesize (if not already done by
which initializes the uvmexp members pagesize (if not already done by
machine-dependent code), pageshift and pagemask.
.Fn uvm_physseg_init
which initialises the
.Xr uvm_hotplug 9
subsystem.
It should be called by machine-dependent code early in the
.Fn pmap_init
call (see