Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/include Add definitions for stream methods.
details: https://anonhg.NetBSD.org/src/rev/ee69a4f2f75a
branches: trunk
changeset: 762270:ee69a4f2f75a
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Feb 18 16:05:22 2011 +0000
description:
Add definitions for stream methods.
diffstat:
sys/arch/hp300/include/bus.h | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r 20967230fa67 -r ee69a4f2f75a sys/arch/hp300/include/bus.h
--- a/sys/arch/hp300/include/bus.h Fri Feb 18 16:02:48 2011 +0000
+++ b/sys/arch/hp300/include/bus.h Fri Feb 18 16:05:22 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.16 2011/02/12 05:15:39 tsutsui Exp $ */
+/* $NetBSD: bus.h,v 1.17 2011/02/18 16:05:22 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -727,6 +727,35 @@
#undef __HP300_copy_region_N
/*
+ * 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
+
+/*
* Bus read/write barrier methods.
*
* void bus_space_barrier(bus_space_tag_t tag,
Home |
Main Index |
Thread Index |
Old Index