summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-04-06 10:33:45 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-04-06 10:33:45 +0000
commit111b659722a7bdca295fddb23f0ecab46ae9a018 (patch)
tree60b21a995c322f39d2ee7512657d1659df23eaa7 /share/man/man9
parent9bd7077cf7cfa9434964ccfab2e2c37e8afa31c4 (diff)
tweak previous;
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/dma_alloc.920
1 files changed, 9 insertions, 11 deletions
diff --git a/share/man/man9/dma_alloc.9 b/share/man/man9/dma_alloc.9
index a7e2d219ec1..5fe3e4391ba 100644
--- a/share/man/man9/dma_alloc.9
+++ b/share/man/man9/dma_alloc.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dma_alloc.9,v 1.1 2011/04/05 21:37:07 deraadt Exp $
+.\" $OpenBSD: dma_alloc.9,v 1.2 2011/04/06 10:33:44 jmc Exp $
.\" $NetBSD: pool.9,v 1.18 2001/06/21 11:59:01 wiz Exp $
.\"
.\" Copyright (c) 2011 Theo de Raadt
@@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 5 2011 $
+.Dd $Mdocdate: April 6 2011 $
.Dt DMA_ALLOC 9
.Os
.Sh NAME
@@ -37,14 +37,13 @@
.Fa "size_t size"
.Fc
.Sh DESCRIPTION
-This allocator provides DMA-safe memory provided using
-.Xr pools 9 .
-This allocator is safe to call in most contexts and is
-typically used for temporary-use buffers up to 65536 bytes.
+This allocator provides DMA-safe memory provided using pools.
+It is safe to call in most contexts and is
+typically used for temporary buffers up to 65536 bytes.
When buffers are used many times it may be better to consider
using other DMA-safe allocators.
.Pp
-Interrupt protection has been set to
+Interrupt protection is set to
.Va IPL_VM
using
.Fn pool_setipl .
@@ -52,10 +51,9 @@ using
The
.Ar flags
argument is a selection of
-.Xr pool_get
+.Xr pool_get 9
flag arguments.
-.Ar sizes
.Sh SEE ALSO
.Xr bus_dma 9 ,
-.Xr pool 9 ,
-.Xr mbuf 9
+.Xr mbuf 9 ,
+.Xr pool 9