bridge.cc (4877:8f00ebb86efd) | bridge.cc (4885:385a051ad874) |
---|---|
1 2/* 3 * Copyright (c) 2006 The Regents of The University of Michigan 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 194 unchanged lines hidden (view full) --- 203 // from original request 204 buf->fixResponse(pkt); 205 206 // Check if this packet was expecting a response and it's a nacked 207 // packet, in which case we will never being seeing it 208 if (buf->expectResponse && pkt->wasNacked()) 209 --outstandingResponses; 210 | 1 2/* 3 * Copyright (c) 2006 The Regents of The University of Michigan 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 194 unchanged lines hidden (view full) --- 203 // from original request 204 buf->fixResponse(pkt); 205 206 // Check if this packet was expecting a response and it's a nacked 207 // packet, in which case we will never being seeing it 208 if (buf->expectResponse && pkt->wasNacked()) 209 --outstandingResponses; 210 |
211 212 DPRINTF(BusBridge, "restoring sender state: %#X, from packet buffer: %#X\n", 213 pkt->senderState, buf); 214 DPRINTF(BusBridge, " is response, new dest %d\n", pkt->getDest()); | 211 DPRINTF(BusBridge, "response, new dest %d\n", pkt->getDest()); |
215 delete buf; 216 } 217 218 219 if (pkt->isRequest() && !pkt->wasNacked()) { 220 ++queuedRequests; 221 } 222 223 224 225 Tick readyTime = curTick + delay; 226 PacketBuffer *buf = new PacketBuffer(pkt, readyTime); | 212 delete buf; 213 } 214 215 216 if (pkt->isRequest() && !pkt->wasNacked()) { 217 ++queuedRequests; 218 } 219 220 221 222 Tick readyTime = curTick + delay; 223 PacketBuffer *buf = new PacketBuffer(pkt, readyTime); |
227 DPRINTF(BusBridge, "old sender state: %#X, new sender state: %#X\n", 228 buf->origSenderState, buf); | |
229 230 // If we're about to put this packet at the head of the queue, we 231 // need to schedule an event to do the transmit. Otherwise there 232 // should already be an event scheduled for sending the head 233 // packet. 234 if (sendQueue.empty()) { 235 sendEvent.schedule(readyTime); 236 } --- 177 unchanged lines hidden --- | 224 225 // If we're about to put this packet at the head of the queue, we 226 // need to schedule an event to do the transmit. Otherwise there 227 // should already be an event scheduled for sending the head 228 // packet. 229 if (sendQueue.empty()) { 230 sendEvent.schedule(readyTime); 231 } --- 177 unchanged lines hidden --- |