[4816] Fix DMA length bug seen with NetBSD (Cliff Wright)
Revision: 4816
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4816 Author: blueswir1 Date: 2008-07-01 19:28:23 +0000 (Tue, 01 Jul 2008)
Log Message:
-----------
Fix DMA length bug seen with NetBSD (Cliff Wright)
Modified Paths:
--------------
trunk/hw/iommu.c
Modified: trunk/hw/iommu.c
===================================================================
hw/iommu.c +2 -2
@@ -301,9 +301,9 @@iommu_bad_addr (opaque, page, is_write);return ; } -cpu_physical_memory_write (phys_addr, buf, len); +cpu_physical_memory_write (phys_addr, buf, l); }else { -cpu_physical_memory_read (phys_addr, buf, len); +cpu_physical_memory_read (phys_addr, buf, l); } len -= l; buf += l;