summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-03-09 19:27:57 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-03-09 19:27:57 +0000
commit884e2f3ca920087cedbd062e7fac44056a724ac2 (patch)
tree01c4c1268ae27c3dca7badad6b136b4a59288bb7 /sys/arch/sparc64
parentbc6b025f72bd19f1435439fbf25c28089f98c952 (diff)
Add some members needed by the sunv IOMMU code.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/iommuvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/iommuvar.h b/sys/arch/sparc64/dev/iommuvar.h
index 4bdcfe7ef9a..390f2d697bb 100644
--- a/sys/arch/sparc64/dev/iommuvar.h
+++ b/sys/arch/sparc64/dev/iommuvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommuvar.h,v 1.11 2007/12/05 21:15:46 deraadt Exp $ */
+/* $OpenBSD: iommuvar.h,v 1.12 2008/03/09 19:27:56 kettenis Exp $ */
/* $NetBSD: iommuvar.h,v 1.9 2001/10/07 20:30:41 eeh Exp $ */
/*
@@ -92,6 +92,7 @@ struct iommu_page_map {
struct iommu_map_state {
struct strbuf_flush ims_flush; /* flush should be first (alignment) */
struct strbuf_ctl *ims_sb; /* Link to parent */
+ struct iommu_state *ims_iommu;
int ims_flags;
struct iommu_page_map ims_map; /* map must be last (array at end) */
};
@@ -115,6 +116,7 @@ struct iommu_state {
/* copies of our parents state, to allow us to be self contained */
bus_space_tag_t is_bustag; /* our bus tag */
bus_space_handle_t is_iommu; /* IOMMU registers */
+ uint64_t is_devhandle;
};
/* interfaces for PCI/SBus code */