summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-25 20:45:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-25 20:45:57 +0000
commitff92ff78ad1439a28f881d242014ee4b153e4bd3 (patch)
treea1f11d9d39e370f187e709146a8597979449529e /share
parent2048d11838463610f02ef39f606d5d621f167bc3 (diff)
make raw functions take count' to distract from evil bus.h remarks
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/bus_space.962
1 files changed, 31 insertions, 31 deletions
diff --git a/share/man/man9/bus_space.9 b/share/man/man9/bus_space.9
index ec61b60ca58..ecccdfe6bf1 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.3 2001/02/22 00:54:46 krw Exp $
+.\" $OpenBSD: bus_space.9,v 1.4 2001/06/25 20:45:56 mickey Exp $
.\" $NetBSD: bus_space.9,v 1.15 2000/08/09 03:11:00 tv Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -288,51 +288,51 @@
.\".Ft void
.\".Fn bus_space_read_raw_multi_1 "bus_space_tag_t space" \
.\""bus_space_handle_t handle" "bus_size_t offset" "u_int8_t *datap" \
-.\""bus_size_t count"
+.\""bus_size_t size"
.Ft void
.Fn bus_space_read_raw_multi_2 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "u_int8_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_read_raw_multi_4 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "u_int8_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_read_raw_multi_8 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "u_int8_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_write_multi_1 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "const u_int8_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_write_multi_2 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "const u_int16_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_write_multi_4 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "const u_int32_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_write_multi_8 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "const u_int64_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.\".Ft void
.\".Fn bus_space_write_raw_multi_1 "bus_space_tag_t space" \
.\""bus_space_handle_t handle" "bus_size_t offset" "const u_int8_t *datap" \
-.\""bus_size_t count"
+.\""bus_size_t size"
.Ft void
.Fn bus_space_write_raw_multi_2 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "const u_int8_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_write_raw_multi_4 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "const u_int8_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Ft void
.Fn bus_space_write_raw_multi_8 "bus_space_tag_t space" \
"bus_space_handle_t handle" "bus_size_t offset" "const u_int8_t *datap" \
-"bus_size_t count"
+"bus_size_t size"
.Sh DESCRIPTION
The
.Nm
@@ -1367,40 +1367,40 @@ functions.
.\".It Fn bus_space_read_stream_2 "space" "handle" "offset"
.\".It Fn bus_space_read_stream_4 "space" "handle" "offset"
.\".It Fn bus_space_read_stream_8 "space" "handle" "offset"
-.\".It Fn bus_space_read_raw_multi_1 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_read_raw_multi_2 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_read_raw_multi_4 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_read_raw_multi_8 "space" "handle" "offset" "datap" "count"
-.\".It Fn bus_space_read_raw_region_1 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_read_raw_region_2 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_read_raw_region_4 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_read_raw_region_8 "space" "handle" "offset" "datap" "count"
+.\".It Fn bus_space_read_raw_multi_1 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_read_raw_multi_2 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_read_raw_multi_4 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_read_raw_multi_8 "space" "handle" "offset" "datap" "size"
+.\".It Fn bus_space_read_raw_region_1 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_read_raw_region_2 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_read_raw_region_4 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_read_raw_region_8 "space" "handle" "offset" "datap" "size"
.\".It Fn bus_space_write_stream_1 "space" "handle" "offset" "value"
.\".It Fn bus_space_write_stream_2 "space" "handle" "offset" "value"
.\".It Fn bus_space_write_stream_4 "space" "handle" "offset" "value"
.\".It Fn bus_space_write_stream_8 "space" "handle" "offset" "value"
-.\".It Fn bus_space_write_raw_multi_1 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_write_raw_multi_2 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_write_raw_multi_4 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_write_raw_multi_8 "space" "handle" "offset" "datap" "count"
-.\".It Fn bus_space_write_raw_region_1 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_write_raw_region_2 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_write_raw_region_4 "space" "handle" "offset" "datap" "count"
-.It Fn bus_space_write_raw_region_8 "space" "handle" "offset" "datap" "count"
+.\".It Fn bus_space_write_raw_multi_1 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_write_raw_multi_2 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_write_raw_multi_4 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_write_raw_multi_8 "space" "handle" "offset" "datap" "size"
+.\".It Fn bus_space_write_raw_region_1 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_write_raw_region_2 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_write_raw_region_4 "space" "handle" "offset" "datap" "size"
+.It Fn bus_space_write_raw_region_8 "space" "handle" "offset" "datap" "size"
.El
.Pp
These functions, unlike their non-raw counterparts, all take a
u_int8_t pointer for the
.Fa datap
argument and a byte count for the
-.Fa count
+.Fa size
argument regardless of the access width being requested.
.Pp
.Fa datap
must reference a buffer that is correctly aligned for the
access width being requested or the results are undefined.
.Pp
-.Fa count
+.Fa size
must be a multiple of the access width or the results are undefined.
.Pp
In all other respects these functions are the same as their non-raw