diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-06-07 11:46:18 +0200 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-06-15 12:06:20 +0000 |
commit | a59db0e910417e6845e4b461133b2a93b56e0141 (patch) | |
tree | 20b457e9db7554f1c84877cf4adbb71d1bcaf0fd /src/mem | |
parent | 71c6a68a2f363de3b50ec15151e5d78605666292 (diff) | |
download | gem5-a59db0e910417e6845e4b461133b2a93b56e0141.tar.xz |
mem-cache: Forward declare ReplaceableEntry
Forward declare ReplaceableEntry where in classes where pointers
to it are used.
Change-Id: I49c08d36442a563d7a6b4c9bcd7eba3591d29b60
Reviewed-on: https://gem5-review.googlesource.com/11096
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/cache/tags/base.hh | 1 | ||||
-rw-r--r-- | src/mem/cache/tags/fa_lru.hh | 2 | ||||
-rw-r--r-- | src/mem/cache/tags/sector_tags.hh | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/cache/tags/base.hh b/src/mem/cache/tags/base.hh index 30da40855..9a9de8cfa 100644 --- a/src/mem/cache/tags/base.hh +++ b/src/mem/cache/tags/base.hh @@ -63,6 +63,7 @@ #include "sim/clocked_object.hh" class BaseCache; +class ReplaceableEntry; /** * A common base class of Cache tagstore objects. diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh index dee1af028..35413c253 100644 --- a/src/mem/cache/tags/fa_lru.hh +++ b/src/mem/cache/tags/fa_lru.hh @@ -68,6 +68,8 @@ // TrackedCaches class //#define FALRU_DEBUG +class ReplaceableEntry; + // A bitmask of the caches we are keeping track of. Currently the // lowest bit is the smallest cache we are tracking, as it is // specified by the corresponding parameter. The rest of the bits are diff --git a/src/mem/cache/tags/sector_tags.hh b/src/mem/cache/tags/sector_tags.hh index d0dc1f7e3..c0dae8dd4 100644 --- a/src/mem/cache/tags/sector_tags.hh +++ b/src/mem/cache/tags/sector_tags.hh @@ -45,6 +45,7 @@ #include "params/SectorTags.hh" class BaseReplacementPolicy; +class ReplaceableEntry; /** * A SectorTags cache tag store. |