summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlue Swirl2010-04-03 09:40:47 +0200
committerBlue Swirl2010-04-03 09:40:47 +0200
commit93c5a32f89c19a97badd0aa79d2ac2e44376b40e (patch)
tree4e7cfbaaf2961fce1bc18ce1fa0c3a35f9f47de2
parentsparc32: rename iommu.c to sun4m_iommu.c to make room for other IOMMUs (diff)
downloadqemu-93c5a32f89c19a97badd0aa79d2ac2e44376b40e.tar.gz
qemu-93c5a32f89c19a97badd0aa79d2ac2e44376b40e.tar.xz
qemu-93c5a32f89c19a97badd0aa79d2ac2e44376b40e.zip
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 */