mem: Add check for express snoop in packet destructor
authorAli Jafri <ali.jafri@arm.com>
Tue, 9 Jun 2015 13:21:18 +0000 (09:21 -0400)
committerAli Jafri <ali.jafri@arm.com>
Tue, 9 Jun 2015 13:21:18 +0000 (09:21 -0400)
commitf0c3b704516362f11b0ec53a2f7dae8854349ac4
tree93346e27d698b53ce7bc956906d3e30b6e0051fc
parent578a7f20c647e4051e137bdb219cec450a741ca6
mem: Add check for express snoop in packet destructor

Snoop packets share the request pointer with the originating
packets. We need to ensure that the snoop packet destruction does not
delete the request. Snoops are used for reads, invalidations,
HardPFReqs, Writebacks and CleansEvicts. Reads, invalidations, and
HardPFReqs need a response so their snoops do not delete the
request. For Writebacks and CleanEvicts we need to check explicitly
for whethere the current packet is an express snoop, in whcih case do
not delete the request.
src/mem/packet.hh