summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/machine/bus.h')
-rw-r--r--rtemsbsd/include/machine/bus.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/bus.h b/rtemsbsd/include/machine/bus.h
index a0c3d63a..8a61a7d0 100644
--- a/rtemsbsd/include/machine/bus.h
+++ b/rtemsbsd/include/machine/bus.h
@@ -168,6 +168,15 @@
#endif /* BSP_HAS_PC_PCI */
/*
+ * Provide a memory tag for the DMA bus interface
+ */
+#ifdef BSP_BUS_SPACE_MEM
+#define BUS_SPACE_MEM BSP_BUS_SPACE_MEM
+#else
+#define BUS_SPACE_MEM 1
+#endif
+
+/*
* Bus address alignment.
*/
#define BUS_SPACE_ALIGNED_POINTER(p, t) ALIGNED_POINTER(p, t)