Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include Use regular read/writes for stream va...



details:   https://anonhg.NetBSD.org/src/rev/7d2beb2a1f03
branches:  trunk
changeset: 519335:7d2beb2a1f03
user:      soren <soren%NetBSD.org@localhost>
date:      Sat Dec 15 12:39:55 2001 +0000

description:
Use regular read/writes for stream variant calls.

diffstat:

 sys/arch/sparc/include/bus.h |  23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diffs (58 lines):

diff -r e1e8fd97cabd -r 7d2beb2a1f03 sys/arch/sparc/include/bus.h
--- a/sys/arch/sparc/include/bus.h      Sat Dec 15 12:01:55 2001 +0000
+++ b/sys/arch/sparc/include/bus.h      Sat Dec 15 12:39:55 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.26 2001/09/24 23:49:31 eeh Exp $     */
+/*     $NetBSD: bus.h,v 1.27 2001/12/15 12:39:55 soren Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -356,6 +356,11 @@
 #define        bus_space_read_8(t, h, o)                                       \
            ((void)t, *(volatile u_int64_t *)((h) + (o)))
 
+#define bus_space_read_stream_1 bus_space_read_1
+#define bus_space_read_stream_2 bus_space_read_2
+#define bus_space_read_stream_4 bus_space_read_4
+#define bus_space_read_stream_8 bus_space_read_8
+
 
 /*
  *     void bus_space_write_N __P((bus_space_tag_t tag,
@@ -382,6 +387,11 @@
        ((void)t, (void)(*(volatile u_int64_t *)((h) + (o)) = (v)));    \
 } while (0)
 
+#define bus_space_write_stream_1 bus_space_write_1
+#define bus_space_write_stream_2 bus_space_write_2
+#define bus_space_write_stream_4 bus_space_write_4
+#define bus_space_write_stream_8 bus_space_write_8
+
 
 /*
  *     void bus_space_read_multi_N __P((bus_space_tag_t tag,
@@ -460,6 +470,11 @@
                *a++ = bus_space_read_8(t, h, o);
 }
 
+#define bus_space_read_multi_stream_1 bus_space_read_multi_1
+#define bus_space_read_multi_stream_2 bus_space_read_multi_2
+#define bus_space_read_multi_stream_4 bus_space_read_multi_4
+#define bus_space_read_multi_stream_8 bus_space_read_multi_8
+
 
 /*
  *     void bus_space_write_multi_N __P((bus_space_tag_t tag,
@@ -533,6 +548,12 @@
                bus_space_write_8(t, h, o, *a++);
 }
 
+#define bus_space_write_multi_stream_1 bus_space_write_multi_1
+#define bus_space_write_multi_stream_2 bus_space_write_multi_2
+#define bus_space_write_multi_stream_4 bus_space_write_multi_4
+#define bus_space_write_multi_stream_8 bus_space_write_multi_8
+
+
 /*
  *     void bus_space_set_multi_N __P((bus_space_tag_t tag,
  *         bus_space_handle_t bsh, bus_size_t offset, u_intN_t val,



Home | Main Index | Thread Index | Old Index