diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-06-06 20:56:33 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-06-06 20:56:33 +0000 |
commit | b5b8a9f57def49cb6c9aba978593e877c3b4056d (patch) | |
tree | e1e4db7354d2d7ac101c4058978a8310e827c276 /share/man/man9/bus_space.9 | |
parent | a02c11d1c0cebd6695820e5f7bd3fa4fb14853a8 (diff) |
- section reorder
- macro fixes
- kill whitespace at EOL
- use .Ox for OpenBSD, .Fx for FreeBSD
Diffstat (limited to 'share/man/man9/bus_space.9')
-rw-r--r-- | share/man/man9/bus_space.9 | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/share/man/man9/bus_space.9 b/share/man/man9/bus_space.9 index 48b92a1b701..fe5c9e94435 100644 --- a/share/man/man9/bus_space.9 +++ b/share/man/man9/bus_space.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bus_space.9,v 1.9 2003/04/16 07:34:57 mickey Exp $ +.\" $OpenBSD: bus_space.9,v 1.10 2003/06/06 20:56:32 jmc Exp $ .\" $NetBSD: bus_space.9,v 1.15 2000/08/09 03:11:00 tv Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -569,12 +569,13 @@ or delayed. .It Dv BUS_SPACE_MAP_LINEAR Try to map the space so that its contents can be accessed linearly via normal memory access methods (e.g. pointer dereferencing and structure -accesses). The +accesses). +The .Fn bus_space_vaddr method can be used to obtain the kernel virtual address of the mapped range. This is useful when software wants to do direct access to a memory -device, e.g. a frame buffer. If this flag is specified and linear -mapping is not possible, the +device, e.g. a frame buffer. +If this flag is specified and linear mapping is not possible, the .Fn bus_space_map call should fail. If this @@ -684,7 +685,8 @@ is called on a handle, all subregions of that handle become invalid. This method returns the kernel virtual address of a mapped bus space if and only if it was mapped with the .Dv BUS_SPACE_MAP_LINEAR -flag. The range can be accessed by normal (volatile) pointer dereferences. +flag. +The range can be accessed by normal (volatile) pointer dereferences. If mapped with the .Dv BUS_SPACE_MAP_PREFETCHABLE flag, the @@ -1456,7 +1458,9 @@ would also ease translation of the functions into user space (since mapping in user space would look like it just used a different bus-specific mapping function). .El -.\".Sh COMPATIBILITY +.Sh SEE ALSO +.Xr bus_dma 9 +.\".Sh STANDARDS .\".Pp .\"The current version of the .\".Nm @@ -1505,5 +1509,3 @@ Chris Demetriou wrote this manual page. .Pp Niklas Hallqvist did the *_raw_* API for .Ox . -.Sh SEE ALSO -.Xr bus_dma 9 |