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>
This commit is contained in:
Daniel R. Carvalho
2018-06-07 11:46:18 +02:00
committed by Daniel Carvalho
parent 71c6a68a2f
commit a59db0e910
3 changed files with 4 additions and 0 deletions

View File

@@ -63,6 +63,7 @@
#include "sim/clocked_object.hh"
class BaseCache;
class ReplaceableEntry;
/**
* A common base class of Cache tagstore objects.

View 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

View File

@@ -45,6 +45,7 @@
#include "params/SectorTags.hh"
class BaseReplacementPolicy;
class ReplaceableEntry;
/**
* A SectorTags cache tag store.