mshr.cc (12350:811452f255d5) | mshr.cc (12351:17eaa27bef22) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015-2017 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 --- 412 unchanged lines hidden (view full) --- 421 // the original packet data storage may have been deleted by 422 // the time we get to process this packet. In the cases where 423 // we are not responding after handling the snoop we also need 424 // to create a copy of the request to be on the safe side. In 425 // the latter case the cache is responsible for deleting both 426 // the packet and the request as part of handling the deferred 427 // snoop. 428 PacketPtr cp_pkt = will_respond ? new Packet(pkt, true, true) : | 1/* 2 * Copyright (c) 2012-2013, 2015-2017 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 --- 412 unchanged lines hidden (view full) --- 421 // the original packet data storage may have been deleted by 422 // the time we get to process this packet. In the cases where 423 // we are not responding after handling the snoop we also need 424 // to create a copy of the request to be on the safe side. In 425 // the latter case the cache is responsible for deleting both 426 // the packet and the request as part of handling the deferred 427 // snoop. 428 PacketPtr cp_pkt = will_respond ? new Packet(pkt, true, true) : |
429 new Packet(new Request(*pkt->req), pkt->cmd, blkSize); | 429 new Packet(new Request(*pkt->req), pkt->cmd, blkSize, pkt->id); |
430 431 if (will_respond) { 432 // we are the ordering point, and will consequently 433 // respond, and depending on whether the packet 434 // needsWritable or not we either pass a Shared line or a 435 // Modified line 436 pkt->setCacheResponding(); 437 --- 186 unchanged lines hidden --- | 430 431 if (will_respond) { 432 // we are the ordering point, and will consequently 433 // respond, and depending on whether the packet 434 // needsWritable or not we either pass a Shared line or a 435 // Modified line 436 pkt->setCacheResponding(); 437 --- 186 unchanged lines hidden --- |