coherent_xbar.cc (11133:81e46b63daff) coherent_xbar.cc (11188:091531fa23ad)
1/*
2 * Copyright (c) 2011-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

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

827 if (!pkt->isPrint()) {
828 // don't do DPRINTFs on PrintReq as it clutters up the output
829 DPRINTF(CoherentXBar,
830 "recvFunctionalSnoop: packet src %s addr 0x%x cmd %s\n",
831 masterPorts[master_port_id]->name(), pkt->getAddr(),
832 pkt->cmdString());
833 }
834
1/*
2 * Copyright (c) 2011-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

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

827 if (!pkt->isPrint()) {
828 // don't do DPRINTFs on PrintReq as it clutters up the output
829 DPRINTF(CoherentXBar,
830 "recvFunctionalSnoop: packet src %s addr 0x%x cmd %s\n",
831 masterPorts[master_port_id]->name(), pkt->getAddr(),
832 pkt->cmdString());
833 }
834
835 for (const auto& p : slavePorts) {
836 if (p->checkFunctional(pkt)) {
837 if (pkt->needsResponse())
838 pkt->makeResponse();
839 return;
840 }
841 }
842
835 // forward to all snoopers
836 forwardFunctional(pkt, InvalidPortID);
837}
838
839void
840CoherentXBar::forwardFunctional(PacketPtr pkt, PortID exclude_slave_port_id)
841{
842 // snoops should only happen if the system isn't bypassing caches

--- 47 unchanged lines hidden ---
843 // forward to all snoopers
844 forwardFunctional(pkt, InvalidPortID);
845}
846
847void
848CoherentXBar::forwardFunctional(PacketPtr pkt, PortID exclude_slave_port_id)
849{
850 // snoops should only happen if the system isn't bypassing caches

--- 47 unchanged lines hidden ---