serial_link.cc (11185:0ff78be3bc67) serial_link.cc (11284:b3926db25371)
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

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

180
181 // if the request queue is full then there is no hope
182 if (masterPort.reqQueueFull()) {
183 DPRINTF(SerialLink, "Request queue full\n");
184 retryReq = true;
185 } else if ( !retryReq ) {
186 // look at the response queue if we expect to see a response
187 bool expects_response = pkt->needsResponse() &&
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

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

180
181 // if the request queue is full then there is no hope
182 if (masterPort.reqQueueFull()) {
183 DPRINTF(SerialLink, "Request queue full\n");
184 retryReq = true;
185 } else if ( !retryReq ) {
186 // look at the response queue if we expect to see a response
187 bool expects_response = pkt->needsResponse() &&
188 !pkt->memInhibitAsserted();
188 !pkt->cacheResponding();
189 if (expects_response) {
190 if (respQueueFull()) {
191 DPRINTF(SerialLink, "Response queue full\n");
192 retryReq = true;
193 } else {
194 // ok to send the request with space for the response
195 DPRINTF(SerialLink, "Reserving space for response\n");
196 assert(outstandingResponses != respQueueLimit);

--- 241 unchanged lines hidden ---
189 if (expects_response) {
190 if (respQueueFull()) {
191 DPRINTF(SerialLink, "Response queue full\n");
192 retryReq = true;
193 } else {
194 // ok to send the request with space for the response
195 DPRINTF(SerialLink, "Reserving space for response\n");
196 assert(outstandingResponses != respQueueLimit);

--- 241 unchanged lines hidden ---