Deleted Added
sdiff udiff text old ( 10922:5ee72f4b2931 ) new ( 11192:4c28abcf8249 )
full compact
1/*
2 * Copyright (c) 2011-2013 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

--- 134 unchanged lines hidden (view full) ---

145}
146
147bool
148Bridge::BridgeSlavePort::recvTimingReq(PacketPtr pkt)
149{
150 DPRINTF(Bridge, "recvTimingReq: %s addr 0x%x\n",
151 pkt->cmdString(), pkt->getAddr());
152
153 // we should not see a timing request if we are already in a retry
154 assert(!retryReq);
155
156 DPRINTF(Bridge, "Response queue size: %d outresp: %d\n",
157 transmitList.size(), outstandingResponses);
158
159 // if the request queue is full then there is no hope
160 if (masterPort.reqQueueFull()) {
161 DPRINTF(Bridge, "Request queue full\n");
162 retryReq = true;
163 } else {
164 // look at the response queue if we expect to see a response
165 bool expects_response = pkt->needsResponse() &&
166 !pkt->memInhibitAsserted();
167 if (expects_response) {
168 if (respQueueFull()) {
169 DPRINTF(Bridge, "Response queue full\n");
170 retryReq = true;
171 } else {
172 // ok to send the request with space for the response
173 DPRINTF(Bridge, "Reserving space for response\n");
174 assert(outstandingResponses != respQueueLimit);

--- 215 unchanged lines hidden ---