aboutsummaryrefslogtreecommitdiff
path: root/hw/iommu.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-09-03 16:09:07 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-09-03 16:09:07 +0000
commit67e999be93410b9eb7024d879d8e4cf6ce124eed (patch)
tree07a3ebb208f4e06b6dbd8cd16d02ca15fd14aed2 /hw/iommu.c
parent91cc029598b7cd37c726175e05df7e45e9df6ffb (diff)
downloadqemu-67e999be93410b9eb7024d879d8e4cf6ce124eed.zip
qemu-67e999be93410b9eb7024d879d8e4cf6ce124eed.tar.gz
qemu-67e999be93410b9eb7024d879d8e4cf6ce124eed.tar.bz2
Separate the DMA controllers - Convert ESP to new DMA methods (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2143 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/iommu.c')
-rw-r--r--hw/iommu.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/hw/iommu.c b/hw/iommu.c
index 83001bd..5c2768c 100644
--- a/hw/iommu.c
+++ b/hw/iommu.c
@@ -206,19 +206,11 @@ static uint32_t iommu_translate_pa(IOMMUState *s, uint32_t addr, uint32_t pa)
return pa;
}
-uint32_t iommu_translate_local(void *opaque, uint32_t addr)
-{
- uint32_t flags;
- flags = iommu_page_get_flags(opaque, addr);
- return iommu_translate_pa(opaque, addr, flags);
-}
-
-void sparc_iommu_memory_rw_local(void *opaque, target_phys_addr_t addr,
- uint8_t *buf, int len, int is_write)
+void sparc_iommu_memory_rw(void *opaque, target_phys_addr_t addr,
+ uint8_t *buf, int len, int is_write)
{
int l, flags;
target_ulong page, phys_addr;
- void * p;
while (len > 0) {
page = addr & TARGET_PAGE_MASK;