mem-cache: Forward declare ReplaceableEntry
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 7 Jun 2018 09:46:18 +0000 (11:46 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 15 Jun 2018 12:06:20 +0000 (12:06 +0000)
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>

src/mem/cache/tags/base.hh
src/mem/cache/tags/fa_lru.hh
src/mem/cache/tags/sector_tags.hh

index 30da408558f2ed0b7289777c633ab24f15a7d33a..9a9de8cfac869cb4a43cf672afe43b0ef4a03734 100644 (file)
@@ -63,6 +63,7 @@
 #include "sim/clocked_object.hh"
 
 class BaseCache;
+class ReplaceableEntry;
 
 /**
  * A common base class of Cache tagstore objects.
index dee1af0287e96351f5720f8db63bac10ba812db6..35413c2530b8a85c2d2527a5c242d57b5dc5e43c 100644 (file)
@@ -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
index d0dc1f7e31e672cc4c4a7ec672d3cb59c7753941..c0dae8dd43e49dc1691ec42ab081e00192d621af 100644 (file)
@@ -45,6 +45,7 @@
 #include "params/SectorTags.hh"
 
 class BaseReplacementPolicy;
+class ReplaceableEntry;
 
 /**
  * A SectorTags cache tag store.