summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-12-03 16:37:37 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-12-03 16:37:37 +0000
commitc53b6b87732a26be48886aac7c902ab2cf9980b0 (patch)
tree7a1aea613de8d282341d352ea188afde81d4ad75 /sys/powerpc/include
parent38cca03fdd83f5125f633ed3f9b1823d8354e67f (diff)
downloadFreeBSD-src-c53b6b87732a26be48886aac7c902ab2cf9980b0.zip
FreeBSD-src-c53b6b87732a26be48886aac7c902ab2cf9980b0.tar.gz
Provide a simple IOMMU framework on PowerPC, which is required to support
PPC hypervisors.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/bus_dma.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/include/bus_dma.h b/sys/powerpc/include/bus_dma.h
index d10a055..e070a94 100644
--- a/sys/powerpc/include/bus_dma.h
+++ b/sys/powerpc/include/bus_dma.h
@@ -30,4 +30,8 @@
#include <sys/bus_dma.h>
+struct device;
+
+int bus_dma_tag_set_iommu(bus_dma_tag_t, struct device *iommu, void *cookie);
+
#endif /* _POWERPC_BUS_DMA_H_ */
OpenPOWER on IntegriCloud