bridge.cc (9542:683991c46ac8) | bridge.cc (9549:95a536fae9ac) |
---|---|
1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 127 unchanged lines hidden (view full) --- 136{ 137 // all checks are done when the request is accepted on the slave 138 // side, so we are guaranteed to have space for the response 139 DPRINTF(Bridge, "recvTimingResp: %s addr 0x%x\n", 140 pkt->cmdString(), pkt->getAddr()); 141 142 DPRINTF(Bridge, "Request queue size: %d\n", transmitList.size()); 143 | 1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 127 unchanged lines hidden (view full) --- 136{ 137 // all checks are done when the request is accepted on the slave 138 // side, so we are guaranteed to have space for the response 139 DPRINTF(Bridge, "recvTimingResp: %s addr 0x%x\n", 140 pkt->cmdString(), pkt->getAddr()); 141 142 DPRINTF(Bridge, "Request queue size: %d\n", transmitList.size()); 143 |
144 // @todo: We need to pay for this and not just zero it out 145 pkt->busFirstWordDelay = pkt->busLastWordDelay = 0; 146 |
|
144 slavePort.schedTimingResp(pkt, bridge.clockEdge(delay)); 145 146 return true; 147} 148 149bool 150Bridge::BridgeSlavePort::recvTimingReq(PacketPtr pkt) 151{ --- 14 unchanged lines hidden (view full) --- 166 if (respQueueFull()) { 167 DPRINTF(Bridge, "Response queue full\n"); 168 retryReq = true; 169 } else { 170 DPRINTF(Bridge, "Reserving space for response\n"); 171 assert(outstandingResponses != respQueueLimit); 172 ++outstandingResponses; 173 retryReq = false; | 147 slavePort.schedTimingResp(pkt, bridge.clockEdge(delay)); 148 149 return true; 150} 151 152bool 153Bridge::BridgeSlavePort::recvTimingReq(PacketPtr pkt) 154{ --- 14 unchanged lines hidden (view full) --- 169 if (respQueueFull()) { 170 DPRINTF(Bridge, "Response queue full\n"); 171 retryReq = true; 172 } else { 173 DPRINTF(Bridge, "Reserving space for response\n"); 174 assert(outstandingResponses != respQueueLimit); 175 ++outstandingResponses; 176 retryReq = false; |
177 178 // @todo: We need to pay for this and not just zero it out 179 pkt->busFirstWordDelay = pkt->busLastWordDelay = 0; 180 |
|
174 masterPort.schedTimingReq(pkt, bridge.clockEdge(delay)); 175 } 176 } 177 178 // remember that we are now stalling a packet and that we have to 179 // tell the sending master to retry once space becomes available, 180 // we make no distinction whether the stalling is due to the 181 // request queue or response queue being full --- 229 unchanged lines hidden --- | 181 masterPort.schedTimingReq(pkt, bridge.clockEdge(delay)); 182 } 183 } 184 185 // remember that we are now stalling a packet and that we have to 186 // tell the sending master to retry once space becomes available, 187 // we make no distinction whether the stalling is due to the 188 // request queue or response queue being full --- 229 unchanged lines hidden --- |