1*311cacb4SAlan Cox.\" 2*311cacb4SAlan Cox.\" Copyright (c) 2003 Bruce M Simpson <bms@spc.org> 3*311cacb4SAlan Cox.\" All rights reserved. 4*311cacb4SAlan Cox.\" 5*311cacb4SAlan Cox.\" Redistribution and use in source and binary forms, with or without 6*311cacb4SAlan Cox.\" modification, are permitted provided that the following conditions 7*311cacb4SAlan Cox.\" are met: 8*311cacb4SAlan Cox.\" 1. Redistributions of source code must retain the above copyright 9*311cacb4SAlan Cox.\" notice, this list of conditions and the following disclaimer. 10*311cacb4SAlan Cox.\" 2. Redistributions in binary form must reproduce the above copyright 11*311cacb4SAlan Cox.\" notice, this list of conditions and the following disclaimer in the 12*311cacb4SAlan Cox.\" documentation and/or other materials provided with the distribution. 13*311cacb4SAlan Cox.\" 14*311cacb4SAlan Cox.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*311cacb4SAlan Cox.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*311cacb4SAlan Cox.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*311cacb4SAlan Cox.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*311cacb4SAlan Cox.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*311cacb4SAlan Cox.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*311cacb4SAlan Cox.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*311cacb4SAlan Cox.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*311cacb4SAlan Cox.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*311cacb4SAlan Cox.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*311cacb4SAlan Cox.\" SUCH DAMAGE. 25*311cacb4SAlan Cox.\" 26*311cacb4SAlan Cox.Dd July 18, 2014 27*311cacb4SAlan Cox.Dt PMAP_PROTECT 9 28*311cacb4SAlan Cox.Os 29*311cacb4SAlan Cox.Sh NAME 30*311cacb4SAlan Cox.Nm pmap_protect 31*311cacb4SAlan Cox.Nd set physical page protection 32*311cacb4SAlan Cox.Sh SYNOPSIS 33*311cacb4SAlan Cox.In sys/param.h 34*311cacb4SAlan Cox.In vm/vm.h 35*311cacb4SAlan Cox.In vm/pmap.h 36*311cacb4SAlan Cox.Ft void 37*311cacb4SAlan Cox.Fo pmap_protect 38*311cacb4SAlan Cox.Fa "pmap_t pmap" "vm_offset_t sva" "vm_offset_t eva" "vm_prot_t prot" 39*311cacb4SAlan Cox.Fc 40*311cacb4SAlan Cox.Sh DESCRIPTION 41*311cacb4SAlan CoxThe 42*311cacb4SAlan Cox.Fn pmap_protect 43*311cacb4SAlan Coxfunction sets the physical page permissions to 44*311cacb4SAlan Cox.Fa prot 45*311cacb4SAlan Coxfor all physical pages in the physical map 46*311cacb4SAlan Cox.Fa pmap 47*311cacb4SAlan Coxin the virtual address range between 48*311cacb4SAlan Cox.Fa sva 49*311cacb4SAlan Coxand 50*311cacb4SAlan Cox.Fa eva . 51*311cacb4SAlan Cox.Sh SEE ALSO 52*311cacb4SAlan Cox.Xr pmap 9 53*311cacb4SAlan Cox.Sh AUTHORS 54*311cacb4SAlan CoxThis manual page was written by 55*311cacb4SAlan Cox.An Bruce M Simpson Aq Mt bms@spc.org . 56