diff options
Diffstat (limited to 'src/mem/cache/tags/sector_tags.hh')
-rw-r--r-- | src/mem/cache/tags/sector_tags.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mem/cache/tags/sector_tags.hh b/src/mem/cache/tags/sector_tags.hh index 109b9832b..7a2cddae9 100644 --- a/src/mem/cache/tags/sector_tags.hh +++ b/src/mem/cache/tags/sector_tags.hh @@ -43,6 +43,7 @@ #include "mem/cache/tags/base.hh" #include "params/SectorTags.hh" +class BaseCache; class BaseReplacementPolicy; class ReplaceableEntry; @@ -114,6 +115,13 @@ class SectorTags : public BaseTags virtual ~SectorTags() {}; /** + * Initialize blocks and set the parent cache back pointer. + * + * @param _cache Pointer to parent cache. + */ + void init(BaseCache *_cache) override; + + /** * This function updates the tags when a block is invalidated but does * not invalidate the block itself. It also updates the replacement data. * |