mem: Remove unused type BlkList from the cache and the tags
Change-Id: If9ebb8488e8db587482ecfa99d2c12cfe5734fb9 Reviewed-by: Andreas Hansson <andreas.hansson@arm.com> Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
parent
da1ddb9aa7
commit
e8723310ef
5
src/mem/cache/cache.hh
vendored
5
src/mem/cache/cache.hh
vendored
|
@ -73,11 +73,6 @@ class BasePrefetcher;
|
||||||
*/
|
*/
|
||||||
class Cache : public BaseCache
|
class Cache : public BaseCache
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
|
|
||||||
/** A typedef for a list of CacheBlk pointers. */
|
|
||||||
typedef std::list<CacheBlk*> BlkList;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
2
src/mem/cache/tags/base_set_assoc.hh
vendored
2
src/mem/cache/tags/base_set_assoc.hh
vendored
|
@ -78,8 +78,6 @@ class BaseSetAssoc : public BaseTags
|
||||||
public:
|
public:
|
||||||
/** Typedef the block type used in this tag store. */
|
/** Typedef the block type used in this tag store. */
|
||||||
typedef CacheBlk BlkType;
|
typedef CacheBlk BlkType;
|
||||||
/** Typedef for a list of pointers to the local block class. */
|
|
||||||
typedef std::list<BlkType*> BlkList;
|
|
||||||
/** Typedef the set type used in this tag store. */
|
/** Typedef the set type used in this tag store. */
|
||||||
typedef CacheSet<CacheBlk> SetType;
|
typedef CacheSet<CacheBlk> SetType;
|
||||||
|
|
||||||
|
|
2
src/mem/cache/tags/fa_lru.hh
vendored
2
src/mem/cache/tags/fa_lru.hh
vendored
|
@ -90,8 +90,6 @@ class FALRU : public BaseTags
|
||||||
public:
|
public:
|
||||||
/** Typedef the block type used in this class. */
|
/** Typedef the block type used in this class. */
|
||||||
typedef FALRUBlk BlkType;
|
typedef FALRUBlk BlkType;
|
||||||
/** Typedef a list of pointers to the local block type. */
|
|
||||||
typedef std::list<FALRUBlk*> BlkList;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/** Array of pointers to blocks at the cache size boundaries. */
|
/** Array of pointers to blocks at the cache size boundaries. */
|
||||||
|
|
Loading…
Reference in a new issue