Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/i386/include Pull up revision 1.30 -- approved...
details: https://anonhg.NetBSD.org/src/rev/fdd35858249e
branches: netbsd-1-5
changeset: 488888:fdd35858249e
user: briggs <briggs%NetBSD.org@localhost>
date: Sun Aug 06 02:01:59 2000 +0000
description:
Pull up revision 1.30 -- approved by thorpej --
Define bus_space_*_stream_N functions as their non-stream counterparts.
diffstat:
sys/arch/i386/include/bus.h | 40 +++++++++++++++++++++++++++++++++++++++-
1 files changed, 39 insertions(+), 1 deletions(-)
diffs (110 lines):
diff -r 05b2ee9abf06 -r fdd35858249e sys/arch/i386/include/bus.h
--- a/sys/arch/i386/include/bus.h Sun Aug 06 00:30:17 2000 +0000
+++ b/sys/arch/i386/include/bus.h Sun Aug 06 02:01:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.28.6.1 2000/06/30 16:27:26 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.28.6.2 2000/08/06 02:01:59 briggs Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -105,6 +105,8 @@
#define I386_BUS_SPACE_IO 0 /* space is i/o space */
#define I386_BUS_SPACE_MEM 1 /* space is mem space */
+#define __BUS_SPACE_HAS_STREAM_METHODS 1
+
/*
* Bus address and size types
*/
@@ -226,8 +228,14 @@
((t) == I386_BUS_SPACE_IO ? (inl((h) + (o))) : \
(*(volatile u_int32_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
+
#if 0 /* Cause a link error for bus_space_read_8 */
#define bus_space_read_8(t, h, o) !!! bus_space_read_8 unimplemented !!!
+#define bus_space_read_stream_8(t, h, o) \
+ !!! bus_space_read_stream_8 unimplemented !!!
#endif
/*
@@ -300,8 +308,14 @@
} \
} while (0)
+#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
+
#if 0 /* Cause a link error for bus_space_read_multi_8 */
#define bus_space_read_multi_8 !!! bus_space_read_multi_8 unimplemented !!!
+#define bus_space_read_multi_stream_8 \
+ !!! bus_space_read_multi_stream_8 unimplemented !!!
#endif
/*
@@ -411,8 +425,14 @@
} \
} while (0)
+#define bus_space_read_region_stream_1 bus_space_read_region_1
+#define bus_space_read_region_stream_2 bus_space_read_region_2
+#define bus_space_read_region_stream_4 bus_space_read_region_4
+
#if 0 /* Cause a link error for bus_space_read_region_8 */
#define bus_space_read_region_8 !!! bus_space_read_region_8 unimplemented !!!
+#define bus_space_read_region_stream_8 \
+ !!! bus_space_read_region_stream_8 unimplemented !!!
#endif
/*
@@ -450,8 +470,14 @@
((void)(*(volatile u_int32_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
+
#if 0 /* Cause a link error for bus_space_write_8 */
#define bus_space_write_8 !!! bus_space_write_8 not implemented !!!
+#define bus_space_write_stream_8 \
+ !!! bus_space_write_stream_8 not implemented !!!
#endif
/*
@@ -521,9 +547,15 @@
} \
} while (0)
+#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
+
#if 0 /* Cause a link error for bus_space_write_multi_8 */
#define bus_space_write_multi_8(t, h, o, a, c) \
!!! bus_space_write_multi_8 unimplemented !!!
+#define bus_space_write_multi_stream_8(t, h, o, a, c) \
+ !!! bus_space_write_multi_stream_8 unimplemented !!!
#endif
/*
@@ -632,9 +664,15 @@
} \
} while (0)
+#define bus_space_write_region_stream_1 bus_space_write_region_1
+#define bus_space_write_region_stream_2 bus_space_write_region_2
+#define bus_space_write_region_stream_4 bus_space_write_region_4
+
#if 0 /* Cause a link error for bus_space_write_region_8 */
#define bus_space_write_region_8 \
!!! bus_space_write_region_8 unimplemented !!!
+#define bus_space_write_region_stream_8 \
+ !!! bus_space_write_region_stream_8 unimplemented !!!
#endif
/*
Home |
Main Index |
Thread Index |
Old Index