summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-06-29 02:10:06 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-06-29 02:10:06 +0000
commit1825a3fb7aea273933e6b57f370e5456801880aa (patch)
tree934b737cf5f26f2e137976636dc9df219466fc7b /share/man/man9
parentc3461633cdb8cbf0aef6a4e8d71dc1888c2195ff (diff)
note safety (discussed with art)
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/bus_dma.98
1 files changed, 5 insertions, 3 deletions
diff --git a/share/man/man9/bus_dma.9 b/share/man/man9/bus_dma.9
index 989d2bea693..4b26cc789ca 100644
--- a/share/man/man9/bus_dma.9
+++ b/share/man/man9/bus_dma.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bus_dma.9,v 1.4 2001/06/28 22:14:23 millert Exp $
+.\" $OpenBSD: bus_dma.9,v 1.5 2001/06/29 02:10:05 jason Exp $
.\" $NetBSD: bus_dma.9,v 1.14 2000/06/14 06:49:19 cgd Exp $
.\"
.\" Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -645,7 +645,8 @@ placed into the DMA map for use by later calls to
.El
.Pp
Behavior is undefined if invalid arguments are passed to
-.Fn bus_dmamem_map .
+.Fn bus_dmamem_map
+and must not be called from an interrupt context.
.Pp
Returns 0 on success, or an error code indicating mode of failure.
.It Fn bus_dmamem_unmap "tag" "kva" "size"
@@ -664,7 +665,8 @@ The size of the mapping.
.El
.Pp
Behavior is undefined if invalid arguments are passed to
-.Fn bus_dmamem_unmap .
+.Fn bus_dmamem_unmap
+and must not be call from an interrupt context.
.Pp
If given valid arguments,
.Fn bus_dmamem_unmap