Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 uvm_map() takes sixth argument `align'.



details:   https://anonhg.NetBSD.org/src/rev/c28d81751009
branches:  trunk
changeset: 551177:c28d81751009
user:      enami <enami%NetBSD.org@localhost>
date:      Sun Aug 31 12:35:35 2003 +0000

description:
uvm_map() takes sixth argument `align'.

diffstat:

 share/man/man9/uvm.9 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 7422ee0fa35f -r c28d81751009 share/man/man9/uvm.9
--- a/share/man/man9/uvm.9      Sun Aug 31 11:34:09 2003 +0000
+++ b/share/man/man9/uvm.9      Sun Aug 31 12:35:35 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: uvm.9,v 1.45 2003/06/30 19:12:34 wiz Exp $
+.\"    $NetBSD: uvm.9,v 1.46 2003/08/31 12:35:35 enami Exp $
 .\"
 .\" Copyright (c) 1998 Matthew R. Green
 .\" All rights reserved.
@@ -112,7 +112,7 @@
 .Sh VIRTUAL ADDRESS SPACE MANAGEMENT
 .Ft int
 .br
-.Fn uvm_map "struct vm_map *map" "vaddr_t *startp" "vsize_t size" "struct uvm_object *uobj" "voff_t uoffset" "uvm_flag_t flags" ;
+.Fn uvm_map "struct vm_map *map" "vaddr_t *startp" "vsize_t size" "struct uvm_object *uobj" "voff_t uoffset" "vsize_t align" "uvm_flag_t flags" ;
 .Pp
 .Ft int
 .br
@@ -208,6 +208,12 @@
 The start address of the map will be returned in
 .Fa startp .
 .Pp
+.Fa align
+specifies alignment of mapping unless UVM_FLAG_FIXED is specified in
+.Fa flags .
+.Fa align
+must be power of 2.
+.Pp
 .Fa flags
 passed to
 .Fn uvm_map



Home | Main Index | Thread Index | Old Index