qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4816] Fix DMA length bug seen with NetBSD (Cliff Wright)


From: Blue Swirl
Subject: [Qemu-devel] [4816] Fix DMA length bug seen with NetBSD (Cliff Wright)
Date: Tue, 01 Jul 2008 19:28:24 +0000

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
===================================================================
--- trunk/hw/iommu.c    2008-07-01 16:44:58 UTC (rev 4815)
+++ trunk/hw/iommu.c    2008-07-01 19:28:23 UTC (rev 4816)
@@ -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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]