From 27c3fa33d94dd4a09b5cb3be802dd63f05e4de51 Mon Sep 17 00:00:00 2001 From: Hiten Pandya Date: Fri, 10 Jun 2005 17:16:16 +0000 Subject: [PATCH] Add manual page for newly added pmap_page_init(9) function, part of the PMAP KPI. Reviewed-by: alc --- share/man/man9/Makefile | 1 + share/man/man9/pmap_page_init.9 | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 share/man/man9/pmap_page_init.9 diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 5fe88330846f..ba8da1af5aa6 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -172,6 +172,7 @@ MAN= accept_filter.9 \ pmap_mincore.9 \ pmap_object_init_pt.9 \ pmap_page_exists_quick.9 \ + pmap_page_init.9 \ pmap_page_protect.9 \ pmap_pinit.9 \ pmap_qenter.9 \ diff --git a/share/man/man9/pmap_page_init.9 b/share/man/man9/pmap_page_init.9 new file mode 100644 index 000000000000..65f72ec850e5 --- /dev/null +++ b/share/man/man9/pmap_page_init.9 @@ -0,0 +1,51 @@ +.\" +.\" Copyright (c) 2005 Hiten Pandya +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd June 10, 2005 +.Dt PMAP_PAGE_INIT 9 +.Os +.Sh NAME +.Nm pmap_page_init +.Nd initialize machine-dependent fields of a VM page +.Sh SYNOPSIS +.In sys/param.h +.In vm/vm.h +.In vm/pmap.h +.Ft void +.Fn pmap_page_init "vm_page_t m" +.Sh DESCRIPTION +The +.Fn pmap_page_init +function initializes the machine-dependent fields of a VM page structure. +This procedure is normally used when adding new pages to the VM page +queue management lists. +.Sh SEE ALSO +.Xr pmap 9 , +.Xr pmap_pinit 9 +.Sh AUTHORS +This manual page was written by +.An Hiten Pandya Aq hmp@FreeBSD.org .