diff options
Diffstat (limited to 'src/mem/cache/tags/base.hh')
-rw-r--r-- | src/mem/cache/tags/base.hh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mem/cache/tags/base.hh b/src/mem/cache/tags/base.hh index 30a7af72c..385d25c9f 100644 --- a/src/mem/cache/tags/base.hh +++ b/src/mem/cache/tags/base.hh @@ -154,6 +154,13 @@ class BaseTags : public ClockedObject * @} */ + /** + * Set the parent cache back pointer. + * + * @param _cache Pointer to parent cache. + */ + void setCache(BaseCache *_cache); + public: typedef BaseTagsParams Params; BaseTags(const Params *p); @@ -164,10 +171,11 @@ class BaseTags : public ClockedObject virtual ~BaseTags() {} /** - * Set the parent cache back pointer. + * Initialize blocks and set the parent cache back pointer. + * * @param _cache Pointer to parent cache. */ - void setCache(BaseCache *_cache); + virtual void init(BaseCache *_cache) = 0; /** * Register local statistics. |