mshr.cc (11486:f09bb73b3050) mshr.cc (11490:e03a6233d061)
1/*
2 * Copyright (c) 2012-2013, 2015-2016 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

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

395 // we are not responding after handling the snoop we also need
396 // to create a copy of the request to be on the safe side. In
397 // the latter case the cache is responsible for deleting both
398 // the packet and the request as part of handling the deferred
399 // snoop.
400 PacketPtr cp_pkt = will_respond ? new Packet(pkt, true, true) :
401 new Packet(new Request(*pkt->req), pkt->cmd);
402
1/*
2 * Copyright (c) 2012-2013, 2015-2016 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

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

395 // we are not responding after handling the snoop we also need
396 // to create a copy of the request to be on the safe side. In
397 // the latter case the cache is responsible for deleting both
398 // the packet and the request as part of handling the deferred
399 // snoop.
400 PacketPtr cp_pkt = will_respond ? new Packet(pkt, true, true) :
401 new Packet(new Request(*pkt->req), pkt->cmd);
402
403 if (isPendingModified()) {
403 if (will_respond) {
404 // we are the ordering point, and will consequently
405 // respond, and depending on whether the packet
406 // needsWritable or not we either pass a Shared line or a
407 // Modified line
408 pkt->setCacheResponding();
409
410 // inform the cache hierarchy that this cache had the line
411 // in the Modified state, even if the response is passed

--- 127 unchanged lines hidden ---
404 // we are the ordering point, and will consequently
405 // respond, and depending on whether the packet
406 // needsWritable or not we either pass a Shared line or a
407 // Modified line
408 pkt->setCacheResponding();
409
410 // inform the cache hierarchy that this cache had the line
411 // in the Modified state, even if the response is passed

--- 127 unchanged lines hidden ---