mem-cache: TempCacheBlk allocates and destroys its own data
authorRobert Kovacsics <rmk35@cl.cam.ac.uk>
Fri, 13 Jul 2018 13:38:00 +0000 (14:38 +0100)
committerKovacsics Róbert <kovirobi@gmail.com>
Wed, 25 Jul 2018 13:57:24 +0000 (13:57 +0000)
commit2fe3d660260e7b546b5860ac4459014ed9bee907
tree9ddb798f793db1743b6d31dbeed860bfb3c1a173
parentcd3e7230bee7f557a54bbd908879ce090bc46978
mem-cache: TempCacheBlk allocates and destroys its own data

This change is because I want to make CacheBlk::data private, so that
I can track all the places which write to it. But to keep that commit
smaller (it is pretty big, because of all the places which might
change it), I have split this into a commit of its own.

Change-Id: I15a2fc1752085ff3681f5c74ec90be3828a559ea
Reviewed-on: https://gem5-review.googlesource.com/11829
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/base.cc
src/mem/cache/blk.hh