bridge.cc (11193:564e2e7e86f4) | bridge.cc (11284:b3926db25371) |
---|---|
1/* 2 * Copyright (c) 2011-2013, 2015 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 --- 140 unchanged lines hidden (view full) --- 149} 150 151bool 152Bridge::BridgeSlavePort::recvTimingReq(PacketPtr pkt) 153{ 154 DPRINTF(Bridge, "recvTimingReq: %s addr 0x%x\n", 155 pkt->cmdString(), pkt->getAddr()); 156 | 1/* 2 * Copyright (c) 2011-2013, 2015 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 --- 140 unchanged lines hidden (view full) --- 149} 150 151bool 152Bridge::BridgeSlavePort::recvTimingReq(PacketPtr pkt) 153{ 154 DPRINTF(Bridge, "recvTimingReq: %s addr 0x%x\n", 155 pkt->cmdString(), pkt->getAddr()); 156 |
157 // sink inhibited packets without further action, also discard any 158 // packet that is not a read or a write 159 if (pkt->memInhibitAsserted() || | 157 // if a cache is responding, sink the packet without further 158 // action, also discard any packet that is not a read or a write 159 if (pkt->cacheResponding() || |
160 !(pkt->isWrite() || pkt->isRead())) { 161 assert(!pkt->needsResponse()); 162 pendingDelete.reset(pkt); 163 return true; 164 } 165 166 // we should not get a new request after committing to retry the 167 // current one, but unfortunately the CPU violates this rule, so --- 242 unchanged lines hidden --- | 160 !(pkt->isWrite() || pkt->isRead())) { 161 assert(!pkt->needsResponse()); 162 pendingDelete.reset(pkt); 163 return true; 164 } 165 166 // we should not get a new request after committing to retry the 167 // current one, but unfortunately the CPU violates this rule, so --- 242 unchanged lines hidden --- |