summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/fa_lru.cc
diff options
context:
space:
mode:
authorDaniel R. Carvalho <odanrc@yahoo.com.br>2018-10-11 15:02:54 +0200
committerDaniel Carvalho <odanrc@yahoo.com.br>2018-10-11 13:24:53 +0000
commita120af889b3fdf38eeb528002f6b40af159cb6a9 (patch)
treeb00610dfc305cd8be8a59f48e1b2d6027ea6f157 /src/mem/cache/tags/fa_lru.cc
parent7ed25a91c2ead4ada3554e52525aa72044f16237 (diff)
downloadgem5-a120af889b3fdf38eeb528002f6b40af159cb6a9.tar.xz
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>
Diffstat (limited to 'src/mem/cache/tags/fa_lru.cc')
-rw-r--r--src/mem/cache/tags/fa_lru.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/cache/tags/fa_lru.cc b/src/mem/cache/tags/fa_lru.cc
index 319d5602d..5c2d05b38 100644
--- a/src/mem/cache/tags/fa_lru.cc
+++ b/src/mem/cache/tags/fa_lru.cc
@@ -56,6 +56,7 @@
#include "base/intmath.hh"
#include "base/logging.hh"
#include "mem/cache/base.hh"
+#include "mem/cache/replacement_policies/replaceable_entry.hh"
std::string
FALRUBlk::print() const