mem-cache: Factor ReplaceableEntry out
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 11 Oct 2018 13:02:54 +0000 (15:02 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 11 Oct 2018 13:24:53 +0000 (13:24 +0000)
commita120af889b3fdf38eeb528002f6b40af159cb6a9
treeb00610dfc305cd8be8a59f48e1b2d6027ea6f157
parent7ed25a91c2ead4ada3554e52525aa72044f16237
mem-cache: Factor ReplaceableEntry out

ReplaceableEntry is referenced by many classes that do
not necessarily need access to the replacement policies.
Therefore, in order to allow better compilation units,
we factor it out to a new file.

Change-Id: I0823567bf1ca336ffcdf783682ef473e8878d7fd
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/13418
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/replacement_policies/base.hh
src/mem/cache/replacement_policies/replaceable_entry.hh [new file with mode: 0644]
src/mem/cache/tags/base.cc
src/mem/cache/tags/base_set_assoc.hh
src/mem/cache/tags/fa_lru.cc
src/mem/cache/tags/indexing_policies/base.cc
src/mem/cache/tags/indexing_policies/set_associative.cc
src/mem/cache/tags/indexing_policies/skewed_associative.cc
src/mem/cache/tags/sector_blk.hh
src/mem/cache/tags/sector_tags.cc