* [Qemu-devel] [4816] Fix DMA length bug seen with NetBSD (Cliff Wright)
@ 2008-07-01 19:28 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-07-01 19:28 UTC (permalink / raw)
To: qemu-devel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-01 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 19:28 [Qemu-devel] [4816] Fix DMA length bug seen with NetBSD (Cliff Wright) Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).