summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ObsoleteFiles.inc2
-rw-r--r--share/man/man9/Makefile3
-rw-r--r--share/man/man9/pmap.93
-rw-r--r--share/man/man9/pmap_protect.9 (renamed from share/man/man9/pmap_page_protect.9)14
4 files changed, 6 insertions, 16 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 0dd5633..212b830c 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -38,6 +38,8 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20140718: Remove an obsolete man page
+OLD_FILES+=usr/share/man/man9/pmap_page_protect.9.gz
# 20140717: Remove an obsolete man page
OLD_FILES+=usr/share/man/man9/pmap_clear_reference.9.gz
# 20140716: Remove an incorrectly named man page
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index c57d2c2..09096e2 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -212,8 +212,8 @@ MAN= accept_filter.9 \
pmap_object_init_pt.9 \
pmap_page_exists_quick.9 \
pmap_page_init.9 \
- pmap_page_protect.9 \
pmap_pinit.9 \
+ pmap_protect.9 \
pmap_qenter.9 \
pmap_release.9 \
pmap_remove.9 \
@@ -1049,7 +1049,6 @@ MLINKS+=pmap_copy.9 pmap_copy_page.9
MLINKS+=pmap_extract.9 pmap_extract_and_hold.9
MLINKS+=pmap_init.9 pmap_init2.9
MLINKS+=pmap_is_modified.9 pmap_ts_referenced.9
-MLINKS+=pmap_page_protect.9 pmap_protect.9
MLINKS+=pmap_pinit.9 pmap_pinit0.9 \
pmap_pinit.9 pmap_pinit2.9
MLINKS+=pmap_qenter.9 pmap_qremove.9
diff --git a/share/man/man9/pmap.9 b/share/man/man9/pmap.9
index 80b374a..63b8f2a 100644
--- a/share/man/man9/pmap.9
+++ b/share/man/man9/pmap.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 17, 2014
+.Dd July 18, 2014
.Dt PMAP 9
.Os
.Sh NAME
@@ -106,7 +106,6 @@ operation.
.Xr pmap_object_init_pt 9 ,
.Xr pmap_page_exists_quick 9 ,
.Xr pmap_page_init 9 ,
-.Xr pmap_page_protect 9 ,
.Xr pmap_pinit 9 ,
.Xr pmap_pinit0 9 ,
.Xr pmap_pinit2 9 ,
diff --git a/share/man/man9/pmap_page_protect.9 b/share/man/man9/pmap_protect.9
index b7af077..659dc6d 100644
--- a/share/man/man9/pmap_page_protect.9
+++ b/share/man/man9/pmap_protect.9
@@ -25,11 +25,10 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 21, 2003
+.Dd July 18, 2014
.Dt PMAP_PROTECT 9
.Os
.Sh NAME
-.Nm pmap_page_protect ,
.Nm pmap_protect
.Nd set physical page protection
.Sh SYNOPSIS
@@ -37,20 +36,11 @@
.In vm/vm.h
.In vm/pmap.h
.Ft void
-.Fn pmap_page_protect "vm_page_t m" "vm_prot_t prot"
-.Ft void
.Fo pmap_protect
-.Fa "pmap_t pmap" "vm_offset_t sva" "vm_offset_t eva" "vm_prot_t pr"
+.Fa "pmap_t pmap" "vm_offset_t sva" "vm_offset_t eva" "vm_prot_t prot"
.Fc
.Sh DESCRIPTION
The
-.Fn pmap_page_protect
-function lowers the physical page permissions to
-.Fa prot
-for all mappings of a given page
-.Fa m .
-.Pp
-The
.Fn pmap_protect
function sets the physical page permissions to
.Fa prot
OpenPOWER on IntegriCloud