document pmap_procwr.

This commit is contained in:
yamt 2005-08-11 11:20:48 +00:00
parent 9157daca51
commit 2edce77c87
1 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: pmap.9,v 1.28 2005/01/11 09:43:19 wiz Exp $
.\" $NetBSD: pmap.9,v 1.29 2005/08/11 11:20:48 yamt Exp $
.\"
.\" Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd January 9, 2005
.Dd August 11, 2005
.Dt PMAP 9
.Os
.Sh NAME
@ -1067,6 +1067,18 @@ The use of
.Fn PMAP_PREFER
is enabled by defining it as a C pre-processor macro in
.Aq Pa machine/pmap.h .
.Pp
.It void Fn "pmap_procwr" "struct proc *p" "vaddr_t va" "vsize_t size"
Synchronize cpu instruction caches of the specified range.
The address space is designated by
.Fa p .
This function is typically used to flush instruction caches
after code modification.
.Pp
The use of
.Fn pmap_procwr
is enabled by defining a C pre-processor macro PMAP_NEED_PROCWR in
.Aq Pa machine/pmap.h .
.El
.Sh SEE ALSO
.Xr uvm 9