base.hh (13784:1941dc118243) base.hh (13860:8f8df5b68439)
1/*
2 * Copyright (c) 2012-2013, 2015-2016, 2018 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

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

184 */
185 virtual void sendDeferredPacket();
186
187 /**
188 * Check if there is a conflicting snoop response about to be
189 * send out, and if so simply stall any requests, and schedule
190 * a send event at the same time as the next snoop response is
191 * being sent out.
1/*
2 * Copyright (c) 2012-2013, 2015-2016, 2018 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

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

184 */
185 virtual void sendDeferredPacket();
186
187 /**
188 * Check if there is a conflicting snoop response about to be
189 * send out, and if so simply stall any requests, and schedule
190 * a send event at the same time as the next snoop response is
191 * being sent out.
192 *
193 * @param pkt The packet to check for conflicts against.
192 */
194 */
193 bool checkConflictingSnoop(Addr addr)
195 bool checkConflictingSnoop(const PacketPtr pkt)
194 {
196 {
195 if (snoopRespQueue.hasAddr(addr)) {
197 if (snoopRespQueue.checkConflict(pkt, cache.blkSize)) {
196 DPRINTF(CachePort, "Waiting for snoop response to be "
197 "sent\n");
198 Tick when = snoopRespQueue.deferredPacketReadyTime();
199 schedSendEvent(when);
200 return true;
201 }
202 return false;
203 }

--- 1157 unchanged lines hidden ---
198 DPRINTF(CachePort, "Waiting for snoop response to be "
199 "sent\n");
200 Tick when = snoopRespQueue.deferredPacketReadyTime();
201 schedSendEvent(when);
202 return true;
203 }
204 return false;
205 }

--- 1157 unchanged lines hidden ---