Source-Changes-HG archive

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

[src/netbsd-1-6]: src/share/man/man9 Pull up revision 1.15 (requested by thor...



details:   https://anonhg.NetBSD.org/src/rev/535ee0dbfd78
branches:  netbsd-1-6
changeset: 529394:535ee0dbfd78
user:      he <he%NetBSD.org@localhost>
date:      Mon Nov 18 01:35:32 2002 +0000

description:
Pull up revision 1.15 (requested by thorpej in ticket #676):
  o Document the existing requirement that machine-independent
    code not pmap_kenter_pa() a mappint at a virtual address
    for which a valid mapping already exists.
  o Document the new requirement that machine-idependent code
    not pmap_kenter_pa() a mapping with VM_PROT_EXEC.

diffstat:

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

diffs (32 lines):

diff -r a6992939b0ee -r 535ee0dbfd78 share/man/man9/pmap.9
--- a/share/man/man9/pmap.9     Mon Nov 18 01:29:48 2002 +0000
+++ b/share/man/man9/pmap.9     Mon Nov 18 01:35:32 2002 +0000
@@ -1,6 +1,6 @@
-.\"    $NetBSD: pmap.9,v 1.14 2002/04/01 17:30:02 chs Exp $
+.\"    $NetBSD: pmap.9,v 1.14.2.1 2002/11/18 01:35:32 he Exp $
 .\"
-.\" Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" This code is derived from software contributed to The NetBSD Foundation
@@ -558,7 +558,18 @@
 (such as
 .Fn pmap_page_protect ) Ns .
 Such mappings are also not included in the gathering of modified/referenced
-information about a page.  Mappings created with
+information about a page.  Mappings entered with
+.Fn pmap_kenter_pa
+by machine-independent code
+.Em must not
+have execute permission, as the
+data structures required to track execute permission of a page may not
+be available to
+.Fn pmap_kenter_pa .
+Machine-independent code is not allowed to enter a mapping with
+.Fn pmap_kenter_pa
+at a virtual address for which a valid mapping already exists.
+Mappings created with
 .Fn pmap_kenter_pa
 may be removed only with a call to
 .Fn pmap_kremove .



Home | Main Index | Thread Index | Old Index