Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 document pmap_procwr.



details:   https://anonhg.NetBSD.org/src/rev/e017f7e9cecb
branches:  trunk
changeset: 583549:e017f7e9cecb
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Aug 11 11:20:48 2005 +0000

description:
document pmap_procwr.

diffstat:

 share/man/man9/pmap.9 |  16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 426c93c8ea4f -r e017f7e9cecb share/man/man9/pmap.9
--- a/share/man/man9/pmap.9     Thu Aug 11 10:49:47 2005 +0000
+++ b/share/man/man9/pmap.9     Thu Aug 11 11:20:48 2005 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index