Revision 93c5a32f
b/hw/sun4m_iommu.c | ||
---|---|---|
1 | 1 |
/* |
2 |
* QEMU SPARC iommu emulation
|
|
2 |
* QEMU Sun4m iommu emulation
|
|
3 | 3 |
* |
4 | 4 |
* Copyright (c) 2003-2005 Fabrice Bellard |
5 | 5 |
* |
... | ... | |
35 | 35 |
#define DPRINTF(fmt, ...) |
36 | 36 |
#endif |
37 | 37 |
|
38 |
/* |
|
39 |
* I/O MMU used by Sun4m systems |
|
40 |
* |
|
41 |
* Chipset docs: |
|
42 |
* "Sun-4M System Architecture (revision 2.0) by Chuck Narad", 950-1373-01, |
|
43 |
* http://mediacast.sun.com/users/Barton808/media/Sun4M_SystemArchitecture_edited2.pdf |
|
44 |
*/ |
|
45 |
|
|
38 | 46 |
#define IOMMU_NREGS (4*4096/4) |
39 | 47 |
#define IOMMU_CTRL (0x0000 >> 2) |
40 | 48 |
#define IOMMU_CTRL_IMPL 0xf0000000 /* Implementation */ |
Also available in: Unified diff