io_device.cc (8630:05580a8506c7) | io_device.cc (8642:549b72de8f72) |
---|---|
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; --- 128 unchanged lines hidden (view full) --- 137 backoffTime <<= 1; 138 139 reschedule(backoffEvent, curTick() + backoffTime, true); 140 141 DPRINTF(DMA, "Backoff time set to %d ticks\n", backoffTime); 142 143 pkt->reinitNacked(); 144 queueDma(pkt, true); | 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; --- 128 unchanged lines hidden (view full) --- 137 backoffTime <<= 1; 138 139 reschedule(backoffEvent, curTick() + backoffTime, true); 140 141 DPRINTF(DMA, "Backoff time set to %d ticks\n", backoffTime); 142 143 pkt->reinitNacked(); 144 queueDma(pkt, true); |
145 } else if (pkt->isRequest() && recvSnoops) { 146 return true; |
|
145 } else if (pkt->senderState) { | 147 } else if (pkt->senderState) { |
146 if (recvSnoops) { 147 if (pkt->isRequest()) { 148 return true; 149 } 150 } 151 | |
152 DmaReqState *state; 153 backoffTime >>= 2; 154 155 DPRINTF(DMA, "Received response %s addr %#x size %#x\n", 156 pkt->cmdString(), pkt->getAddr(), pkt->req->getSize()); 157 state = dynamic_cast<DmaReqState*>(pkt->senderState); 158 pendingCount--; 159 --- 228 unchanged lines hidden --- | 148 DmaReqState *state; 149 backoffTime >>= 2; 150 151 DPRINTF(DMA, "Received response %s addr %#x size %#x\n", 152 pkt->cmdString(), pkt->getAddr(), pkt->req->getSize()); 153 state = dynamic_cast<DmaReqState*>(pkt->senderState); 154 pendingCount--; 155 --- 228 unchanged lines hidden --- |