Module Name: src
Committed By: riastradh
Date: Tue May 20 15:31:55 UTC 2014
Modified Files:
src/share/man/man9: uvm_map.9
Log Message:
Miscellaneous markup, speling and grammar fix.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man9/uvm_map.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/uvm_map.9
diff -u src/share/man/man9/uvm_map.9:1.3 src/share/man/man9/uvm_map.9:1.4
--- src/share/man/man9/uvm_map.9:1.3 Tue May 20 15:23:12 2014
+++ src/share/man/man9/uvm_map.9 Tue May 20 15:31:55 2014
@@ -1,4 +1,4 @@
-.\" $NetBSD: uvm_map.9,v 1.3 2014/05/20 15:23:12 riastradh Exp $
+.\" $NetBSD: uvm_map.9,v 1.4 2014/05/20 15:31:55 riastradh Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
.\" All rights reserved.
@@ -87,7 +87,7 @@ The
and
.Fa uoffset
arguments can have four meanings:
-.Bl -bullet -offset indent -compact
+.Bl -bullet -offset abcd -compact
.It
When
.Fa uobj
@@ -154,12 +154,13 @@ are typically created using the
.Fn UVM_MAPFLAG "vm_prot_t prot" "vm_prot_t maxprot" "vm_inherit_t inh" \
"int advice" "int flags"
macro, which uses the following values.
-The
+.Pp
+The values that
.Fa prot
and
.Fa maxprot
can take are:
-.Bl -tag -width UVM_ADV_SEQUENTIAL
+.Bl -tag -offset abcd -compact -width UVM_ADV_SEQUENTIAL
.It UVM_PROT_NONE
No protection bits.
.It UVM_PROT_R
@@ -171,7 +172,6 @@ Exec.
.It UVM_PROT_MASK
Mask to extraction the protection bits.
.El
-.Pp
Additionally, the following constants for ORed values are available:
.Dv UVM_PROT_RW ,
.Dv UVM_PROT_RX ,
@@ -182,7 +182,7 @@ and
The values that
.Fa inh
can take are:
-.Bl -tag -width UVM_ADV_SEQUENTIAL
+.Bl -tag -offset abcd -compact -width UVM_ADV_SEQUENTIAL
.It UVM_INH_SHARE
Share the map.
.It UVM_INH_COPY
@@ -196,13 +196,13 @@ Mark to extract inherit flags.
The values that
.Fa advice
can take are:
-.Bl -tag -width UVM_ADV_SEQUENTIAL
+.Bl -tag -offset abcd -compact -width UVM_ADV_SEQUENTIAL
.It UVM_ADV_NORMAL
"Normal" use.
.It UVM_ADV_RANDOM
-"Random" access likelyhood.
+"Random" access likelihood.
.It UVM_ADV_SEQUENTIAL
-"Sequential" access likelyhood.
+"Sequential" access likelihood.
.It UVM_ADV_MASK
Mask to extract the advice flags.
.El
@@ -210,7 +210,7 @@ Mask to extract the advice flags.
The values that
.Fa flags
can take are:
-.Bl -tag -width UVM_ADV_SEQUENTIAL
+.Bl -tag -offset abcd -compact -width UVM_ADV_SEQUENTIAL
.It UVM_FLAG_FIXED
Attempt to map on the address specified by
.Fa startp .
@@ -222,7 +222,7 @@ Do not merge map entries, if such merge
.It UVM_FLAG_COPYONW
Use copy-on-write i.e. do not fault in the pages immediately.
.It UVM_FLAG_AMAPPAD
-User for BSS: alocate larger amap, if extending is likely.
+Used for BSS: allocate larger amap, if extending is likely.
.It UVM_FLAG_TRYLOCK
Fail if cannot acquire the lock immediately.
.It UVM_FLAG_NOWAIT
@@ -251,8 +251,8 @@ The
.Dv UVM_MAXPROTECTION
and
.Dv UVM_ADVICE
-macros return the protection, inheritance, maximum protection and advice,
-respectively.
+macros return the protection, inheritance, maximum protection, and
+advice, respectively.
.Fn uvm_map
returns zero on success or error number otherwise.
.Pp