diff options
Diffstat (limited to 'src/mem/cache/base.hh')
-rw-r--r-- | src/mem/cache/base.hh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mem/cache/base.hh b/src/mem/cache/base.hh index 04225c12f..6600aeba6 100644 --- a/src/mem/cache/base.hh +++ b/src/mem/cache/base.hh @@ -334,7 +334,7 @@ class BaseCache : public MemObject * is an outstanding request that accesses the victim block) or * when we want to avoid allocation (e.g., exclusive caches) */ - CacheBlk *tempBlock; + TempCacheBlk *tempBlock; /** * Upstream caches need this packet until true is returned, so @@ -390,6 +390,16 @@ class BaseCache : public MemObject } /** + * Regenerate block address using tags. + * Block address regeneration depends on whether we're using a temporary + * block or not. + * + * @param blk The block to regenerate address. + * @return The block's address. + */ + Addr regenerateBlkAddr(CacheBlk* blk); + + /** * Does all the processing necessary to perform the provided request. * @param pkt The memory request to perform. * @param blk The cache block to be updated. |