aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-04-03 07:40:47 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-04-03 07:40:47 +0000
commit93c5a32f89c19a97badd0aa79d2ac2e44376b40e (patch)
tree4e7cfbaaf2961fce1bc18ce1fa0c3a35f9f47de2
parent240566908f55c51f17acc85e6a6b6281a42a1183 (diff)
sparc32: add IOMMU chipset doc links
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--hw/sun4m_iommu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/hw/sun4m_iommu.c b/hw/sun4m_iommu.c
index 0cd2ed00e3..1dbe077466 100644
--- a/hw/sun4m_iommu.c
+++ b/hw/sun4m_iommu.c
@@ -1,5 +1,5 @@
/*
- * QEMU SPARC iommu emulation
+ * QEMU Sun4m iommu emulation
*
* Copyright (c) 2003-2005 Fabrice Bellard
*
@@ -35,6 +35,14 @@
#define DPRINTF(fmt, ...)
#endif
+/*
+ * I/O MMU used by Sun4m systems
+ *
+ * Chipset docs:
+ * "Sun-4M System Architecture (revision 2.0) by Chuck Narad", 950-1373-01,
+ * http://mediacast.sun.com/users/Barton808/media/Sun4M_SystemArchitecture_edited2.pdf
+ */
+
#define IOMMU_NREGS (4*4096/4)
#define IOMMU_CTRL (0x0000 >> 2)
#define IOMMU_CTRL_IMPL 0xf0000000 /* Implementation */