io_device.cc (5534:9eaf72819836) | io_device.cc (5539:6a27bc3fc267) |
---|---|
1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 176 unchanged lines hidden (view full) --- 185 return 1; 186} 187 188 189void 190DmaPort::recvRetry() 191{ 192 assert(transmitList.size()); | 1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 176 unchanged lines hidden (view full) --- 185 return 1; 186} 187 188 189void 190DmaPort::recvRetry() 191{ 192 assert(transmitList.size()); |
193 PacketPtr pkt = transmitList.front(); | |
194 bool result = true; 195 do { | 193 bool result = true; 194 do { |
195 PacketPtr pkt = transmitList.front(); |
|
196 DPRINTF(DMA, "Retry on %s addr %#x\n", 197 pkt->cmdString(), pkt->getAddr()); 198 result = sendTiming(pkt); 199 if (result) { 200 DPRINTF(DMA, "-- Done\n"); 201 transmitList.pop_front(); 202 inRetry = false; 203 } else { --- 138 unchanged lines hidden --- | 196 DPRINTF(DMA, "Retry on %s addr %#x\n", 197 pkt->cmdString(), pkt->getAddr()); 198 result = sendTiming(pkt); 199 if (result) { 200 DPRINTF(DMA, "-- Done\n"); 201 transmitList.pop_front(); 202 inRetry = false; 203 } else { --- 138 unchanged lines hidden --- |