projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d5fe0c
)
Device: Fix bug in DmaPort::recvRetry. The interface attempts to send the same packet...
author
Clint Smullen
<cws3k@cs.virginia.edu>
Tue, 26 Aug 2008 06:37:26 +0000
(
02:37
-0400)
committer
Clint Smullen
<cws3k@cs.virginia.edu>
Tue, 26 Aug 2008 06:37:26 +0000
(
02:37
-0400)
It doesn't cause a problem currently, however with a different Memory Object it could cause
problems
src/dev/io_device.cc
patch
|
blob
|
history
diff --git
a/src/dev/io_device.cc
b/src/dev/io_device.cc
index b86a2d313a9668f717a28c613e2cb497b306026b..41fcec8aca4c775a3d1a713fe5866d22d7e4eaa6 100644
(file)
--- a/
src/dev/io_device.cc
+++ b/
src/dev/io_device.cc
@@
-190,9
+190,9
@@
void
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);