Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/cesfic/include Add a dummy <machine/bus.h> which no...
details: https://anonhg.NetBSD.org/src/rev/37a97fd36136
branches: trunk
changeset: 760297:37a97fd36136
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Jan 02 08:22:35 2011 +0000
description:
Add a dummy <machine/bus.h> which nows seems to be mandatory in MI code
including <sys/bus.h> even if a port doesn't use it. Taken from sbmips.
diffstat:
sys/arch/cesfic/include/bus.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r 5b60be8b2841 -r 37a97fd36136 sys/arch/cesfic/include/bus.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/cesfic/include/bus.h Sun Jan 02 08:22:35 2011 +0000
@@ -0,0 +1,16 @@
+/* $NetBSD: bus.h,v 1.1 2011/01/02 08:22:35 tsutsui Exp $ */
+
+/*
+ * XXX: A dummy <machine/bus.h> for MI <sys/bus.h>.
+ */
+
+#ifndef _MACHINE_BUS_H_
+#define _MACHINE_BUS_H_
+
+typedef paddr_t bus_addr_t;
+typedef psize_t bus_size_t;
+
+typedef int bus_space_tag_t;
+typedef int bus_space_handle_t;
+
+#endif /* _MACHINE_BUS_H_ */
Home |
Main Index |
Thread Index |
Old Index