mshr.cc (11751:cd6248b276a8) mshr.cc (11858:5869c83bc8c7)
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

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

410 // the original packet data storage may have been deleted by
411 // the time we get to process this packet. In the cases where
412 // we are not responding after handling the snoop we also need
413 // to create a copy of the request to be on the safe side. In
414 // the latter case the cache is responsible for deleting both
415 // the packet and the request as part of handling the deferred
416 // snoop.
417 PacketPtr cp_pkt = will_respond ? new Packet(pkt, true, true) :
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

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

410 // the original packet data storage may have been deleted by
411 // the time we get to process this packet. In the cases where
412 // we are not responding after handling the snoop we also need
413 // to create a copy of the request to be on the safe side. In
414 // the latter case the cache is responsible for deleting both
415 // the packet and the request as part of handling the deferred
416 // snoop.
417 PacketPtr cp_pkt = will_respond ? new Packet(pkt, true, true) :
418 new Packet(new Request(*pkt->req), pkt->cmd);
418 new Packet(new Request(*pkt->req), pkt->cmd, blkSize);
419
420 if (will_respond) {
421 // we are the ordering point, and will consequently
422 // respond, and depending on whether the packet
423 // needsWritable or not we either pass a Shared line or a
424 // Modified line
425 pkt->setCacheResponding();
426

--- 168 unchanged lines hidden ---
419
420 if (will_respond) {
421 // we are the ordering point, and will consequently
422 // respond, and depending on whether the packet
423 // needsWritable or not we either pass a Shared line or a
424 // Modified line
425 pkt->setCacheResponding();
426

--- 168 unchanged lines hidden ---