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
This commit is contained in:
parent
3d5fe0c372
commit
4aa017affc
1 changed files with 1 additions and 1 deletions
|
@ -190,9 +190,9 @@ void
|
||||||
DmaPort::recvRetry()
|
DmaPort::recvRetry()
|
||||||
{
|
{
|
||||||
assert(transmitList.size());
|
assert(transmitList.size());
|
||||||
PacketPtr pkt = transmitList.front();
|
|
||||||
bool result = true;
|
bool result = true;
|
||||||
do {
|
do {
|
||||||
|
PacketPtr pkt = transmitList.front();
|
||||||
DPRINTF(DMA, "Retry on %s addr %#x\n",
|
DPRINTF(DMA, "Retry on %s addr %#x\n",
|
||||||
pkt->cmdString(), pkt->getAddr());
|
pkt->cmdString(), pkt->getAddr());
|
||||||
result = sendTiming(pkt);
|
result = sendTiming(pkt);
|
||||||
|
|
Loading…
Reference in a new issue