io_device.cc (4435:7da241055348) | io_device.cc (4437:b6e304245729) |
---|---|
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; --- 97 unchanged lines hidden (view full) --- 106 DPRINTF(DMA, "Received nacked Pkt %#x with State: %#x Addr: %#x\n", 107 pkt, pkt->senderState, pkt->getAddr()); 108 109 if (backoffTime < device->minBackoffDelay) 110 backoffTime = device->minBackoffDelay; 111 else if (backoffTime < device->maxBackoffDelay) 112 backoffTime <<= 1; 113 | 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; --- 97 unchanged lines hidden (view full) --- 106 DPRINTF(DMA, "Received nacked Pkt %#x with State: %#x Addr: %#x\n", 107 pkt, pkt->senderState, pkt->getAddr()); 108 109 if (backoffTime < device->minBackoffDelay) 110 backoffTime = device->minBackoffDelay; 111 else if (backoffTime < device->maxBackoffDelay) 112 backoffTime <<= 1; 113 |
114 if (backoffEvent.scheduled()) 115 backoffEvent.reschedule(curTick + backoffTime); 116 else 117 backoffEvent.schedule(curTick + backoffTime); | 114 backoffEvent.reschedule(curTick + backoffTime, true); |
118 119 DPRINTF(DMA, "Backoff time set to %d ticks\n", backoffTime); 120 121 pkt->reinitNacked(); 122 queueDma(pkt, true); 123 } else if (pkt->senderState) { 124 DmaReqState *state; 125 backoffTime >>= 2; --- 198 unchanged lines hidden --- | 115 116 DPRINTF(DMA, "Backoff time set to %d ticks\n", backoffTime); 117 118 pkt->reinitNacked(); 119 queueDma(pkt, true); 120 } else if (pkt->senderState) { 121 DmaReqState *state; 122 backoffTime >>= 2; --- 198 unchanged lines hidden --- |