changeset 6a27bc3fc267 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=6a27bc3fc267
description:
        Device: Fix bug in DmaPort::recvRetry. The interface attempts to send 
the same packet again.
        It doesn't cause a problem currently, however with a different Memory 
Object it could cause
        problems

diffstat:

1 file changed, 1 deletion(-)
src/dev/io_device.cc |    1 -

diffs (14 lines):

diff -r 3bd1fa125989 -r 6a27bc3fc267 src/dev/io_device.cc
--- a/src/dev/io_device.cc      Sun Aug 24 15:27:49 2008 -0400
+++ b/src/dev/io_device.cc      Tue Aug 26 02:37:26 2008 -0400
@@ -190,9 +190,9 @@
 DmaPort::recvRetry()
 {
     assert(transmitList.size());
-    PacketPtr pkt = transmitList.front();
     bool result = true;
     do {
+        PacketPtr pkt = transmitList.front();
         DPRINTF(DMA, "Retry on %s addr %#x\n",
                 pkt->cmdString(), pkt->getAddr());
         result = sendTiming(pkt);
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to