Module Name: src
Committed By: riastradh
Date: Thu Jan 8 23:43:11 UTC 2015
Modified Files:
src/share/man/man9: uvm_km.9
Log Message:
Clarify uvm_km_alloc is contiguous and zero result means fail.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man9/uvm_km.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_km.9
diff -u src/share/man/man9/uvm_km.9:1.3 src/share/man/man9/uvm_km.9:1.4
--- src/share/man/man9/uvm_km.9:1.3 Wed May 14 16:16:55 2014
+++ src/share/man/man9/uvm_km.9 Thu Jan 8 23:43:11 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: uvm_km.9,v 1.3 2014/05/14 16:16:55 riastradh Exp $
+.\" $NetBSD: uvm_km.9,v 1.4 2015/01/08 23:43:11 riastradh Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
.\" All rights reserved.
@@ -50,10 +50,11 @@ For general purpose memory allocation,
interface should be used.
.Sh FUNCTIONS
.Fn uvm_km_alloc
-allocates
+allocates a contiguous range of
.Fa size
bytes of kernel memory in map
-.Fa map .
+.Fa map
+and returns the virtual address of the range, or returns zero on failure.
The first address of the allocated memory range will be aligned according to the
.Fa align
argument