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/hpcmips/include pull up revision 1.8 (Approved...
details: https://anonhg.NetBSD.org/src/rev/c1634a4f8e69
branches: netbsd-1-5
changeset: 489017:c1634a4f8e69
user: shin <shin%NetBSD.org@localhost>
date: Thu Aug 10 00:56:25 2000 +0000
description:
pull up revision 1.8 (Approved by releng-1-5):
Define bus_space_*_stream_N functions as their non-stream counterparts.
diffstat:
sys/arch/hpcmips/include/bus.h | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r c9d582805ba3 -r c1634a4f8e69 sys/arch/hpcmips/include/bus.h
--- a/sys/arch/hpcmips/include/bus.h Thu Aug 10 00:55:16 2000 +0000
+++ b/sys/arch/hpcmips/include/bus.h Thu Aug 10 00:56:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.6.4.1 2000/06/30 16:27:25 simonb Exp $ */
+/* $NetBSD: bus.h,v 1.6.4.2 2000/08/10 00:56:25 shin Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -516,6 +516,35 @@
#undef __PB_TYPENAME
/*
+ * Bus stream operations--defined in terms of non-stream counterparts
+ */
+#define __BUS_SPACE_HAS_STREAM_METHODS 1
+#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
+#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
+#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
+#define bus_space_read_region_stream_8 bus_space_read_region_8
+#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
+#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
+#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
+#define bus_space_write_region_stream_8 bus_space_write_region_8
+
+/*
* Flags used in various bus DMA methods.
*/
#define BUS_DMA_WAITOK 0x00 /* safe to sleep (pseudo-flag) */
Home |
Main Index |
Thread Index |
Old Index