Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add some missing prototypes for streaming routines.
details: https://anonhg.NetBSD.org/src/rev/9f31be197d01
branches: trunk
changeset: 765415:9f31be197d01
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed May 25 22:58:29 2011 +0000
description:
Add some missing prototypes for streaming routines.
Correct some bus_space_*_8 prototypes that used uint32_t instead of
uint64_t.
Replace size_t with bus_size_t where that's what bus_space(9) calls for.
diffstat:
sys/sys/bus_proto.h | 64 ++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 47 insertions(+), 17 deletions(-)
diffs (113 lines):
diff -r df4ab00712b7 -r 9f31be197d01 sys/sys/bus_proto.h
--- a/sys/sys/bus_proto.h Wed May 25 22:43:20 2011 +0000
+++ b/sys/sys/bus_proto.h Wed May 25 22:58:29 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_proto.h,v 1.4 2010/04/28 19:51:16 dyoung Exp $ */
+/* $NetBSD: bus_proto.h,v 1.5 2011/05/25 22:58:29 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001, 2007 The NetBSD Foundation, Inc.
@@ -156,9 +156,9 @@
bus_size_t, uint32_t *, bus_size_t);
void bus_space_read_multi_8(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, uint32_t *, bus_size_t);
+ bus_size_t, uint64_t *, bus_size_t);
void bus_space_read_multi_stream_8(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, uint32_t *, bus_size_t);
+ bus_size_t, uint64_t *, bus_size_t);
void bus_space_read_region_8(bus_space_tag_t, bus_space_handle_t,
bus_size_t, uint64_t *, bus_size_t);
void bus_space_read_region_stream_8(bus_space_tag_t, bus_space_handle_t,
@@ -224,10 +224,10 @@
bus_size_t);
void bus_space_write_multi_8(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, const uint32_t *,
+ bus_size_t, const uint64_t *,
bus_size_t);
void bus_space_write_multi_stream_8(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, const uint32_t *,
+ bus_size_t, const uint64_t *,
bus_size_t);
void bus_space_write_region_8(bus_space_tag_t, bus_space_handle_t,
bus_size_t, const uint64_t *,
@@ -237,36 +237,66 @@
bus_size_t);
void bus_space_set_multi_1(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int8_t, size_t);
+ bus_size_t, u_int8_t, bus_size_t);
void bus_space_set_multi_2(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int16_t, size_t);
+ bus_size_t, u_int16_t, bus_size_t);
void bus_space_set_multi_4(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int32_t, size_t);
+ bus_size_t, u_int32_t, bus_size_t);
void bus_space_set_multi_8(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int64_t, size_t);
+ bus_size_t, u_int64_t, bus_size_t);
+void bus_space_set_multi_stream_1(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int8_t, bus_size_t);
+void bus_space_set_multi_stream_2(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int16_t, bus_size_t);
+void bus_space_set_multi_stream_4(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int32_t, bus_size_t);
+void bus_space_set_multi_stream_8(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int64_t, bus_size_t);
void bus_space_set_region_1(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int8_t, size_t);
+ bus_size_t, u_int8_t, bus_size_t);
void bus_space_set_region_2(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int16_t, size_t);
+ bus_size_t, u_int16_t, bus_size_t);
void bus_space_set_region_4(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int32_t, size_t);
+ bus_size_t, u_int32_t, bus_size_t);
void bus_space_set_region_8(bus_space_tag_t, bus_space_handle_t,
- bus_size_t, u_int64_t, size_t);
+ bus_size_t, u_int64_t, bus_size_t);
+
+void bus_space_set_region_stream_1(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int8_t, bus_size_t);
+void bus_space_set_region_stream_2(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int16_t, bus_size_t);
+void bus_space_set_region_stream_4(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int32_t, bus_size_t);
+void bus_space_set_region_stream_8(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, u_int64_t, bus_size_t);
void bus_space_copy_region_1(bus_space_tag_t, bus_space_handle_t,
bus_size_t, bus_space_handle_t,
- bus_size_t, size_t);
+ bus_size_t, bus_size_t);
void bus_space_copy_region_2(bus_space_tag_t, bus_space_handle_t,
bus_size_t, bus_space_handle_t,
- bus_size_t, size_t);
+ bus_size_t, bus_size_t);
void bus_space_copy_region_4(bus_space_tag_t, bus_space_handle_t,
bus_size_t, bus_space_handle_t,
- bus_size_t, size_t);
+ bus_size_t, bus_size_t);
void bus_space_copy_region_8(bus_space_tag_t, bus_space_handle_t,
bus_size_t, bus_space_handle_t,
- bus_size_t, size_t);
+ bus_size_t, bus_size_t);
+
+void bus_space_copy_region_stream_1(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, bus_space_handle_t,
+ bus_size_t, bus_size_t);
+void bus_space_copy_region_stream_2(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, bus_space_handle_t,
+ bus_size_t, bus_size_t);
+void bus_space_copy_region_stream_4(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, bus_space_handle_t,
+ bus_size_t, bus_size_t);
+void bus_space_copy_region_stream_8(bus_space_tag_t, bus_space_handle_t,
+ bus_size_t, bus_space_handle_t,
+ bus_size_t, bus_size_t);
/*
* bus_dma(9)
Home |
Main Index |
Thread Index |
Old Index