noncoherent_xbar.cc (10405:7a618c07e663) | noncoherent_xbar.cc (10572:fc4c90a7d2f5) |
---|---|
1/* 2 * Copyright (c) 2011-2014 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 --- 157 unchanged lines hidden (view full) --- 166bool 167NoncoherentXBar::recvTimingResp(PacketPtr pkt, PortID master_port_id) 168{ 169 // determine the source port based on the id 170 MasterPort *src_port = masterPorts[master_port_id]; 171 172 // determine the destination based on what is stored in the packet 173 PortID slave_port_id = pkt->getDest(); | 1/* 2 * Copyright (c) 2011-2014 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 --- 157 unchanged lines hidden (view full) --- 166bool 167NoncoherentXBar::recvTimingResp(PacketPtr pkt, PortID master_port_id) 168{ 169 // determine the source port based on the id 170 MasterPort *src_port = masterPorts[master_port_id]; 171 172 // determine the destination based on what is stored in the packet 173 PortID slave_port_id = pkt->getDest(); |
174 assert(slave_port_id != InvalidPortID); 175 assert(slave_port_id < respLayers.size()); |
|
174 175 // test if the layer should be considered occupied for the current 176 // port 177 if (!respLayers[slave_port_id]->tryTiming(src_port)) { 178 DPRINTF(NoncoherentXBar, "recvTimingResp: src %s %s 0x%x BUSY\n", 179 src_port->name(), pkt->cmdString(), pkt->getAddr()); 180 return false; 181 } --- 121 unchanged lines hidden --- | 176 177 // test if the layer should be considered occupied for the current 178 // port 179 if (!respLayers[slave_port_id]->tryTiming(src_port)) { 180 DPRINTF(NoncoherentXBar, "recvTimingResp: src %s %s 0x%x BUSY\n", 181 src_port->name(), pkt->cmdString(), pkt->getAddr()); 182 return false; 183 } --- 121 unchanged lines hidden --- |