serial_link.cc (11284:b3926db25371) serial_link.cc (11321:02e930db812d)
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

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

408}
409
410bool
411SerialLink::SerialLinkMasterPort::checkFunctional(PacketPtr pkt)
412{
413 bool found = false;
414 auto i = transmitList.begin();
415
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

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

408}
409
410bool
411SerialLink::SerialLinkMasterPort::checkFunctional(PacketPtr pkt)
412{
413 bool found = false;
414 auto i = transmitList.begin();
415
416 while(i != transmitList.end() && !found) {
416 while (i != transmitList.end() && !found) {
417 if (pkt->checkFunctional((*i).pkt)) {
418 pkt->makeResponse();
419 found = true;
420 }
421 ++i;
422 }
423
424 return found;

--- 13 unchanged lines hidden ---
417 if (pkt->checkFunctional((*i).pkt)) {
418 pkt->makeResponse();
419 found = true;
420 }
421 ++i;
422 }
423
424 return found;

--- 13 unchanged lines hidden ---