diff options
Diffstat (limited to 'src/mem/cache/cache.hh')
-rw-r--r-- | src/mem/cache/cache.hh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mem/cache/cache.hh b/src/mem/cache/cache.hh index ba424d128..26dab2179 100644 --- a/src/mem/cache/cache.hh +++ b/src/mem/cache/cache.hh @@ -279,21 +279,6 @@ class Cache : public BaseCache */ PacketPtr writebackBlk(BlkType *blk); - BlkType* findBlock(Addr addr) - { - return tags->findBlock(addr); - } - - BlkType* findBlock(PacketPtr &pkt) - { - return tags->findBlock(pkt->getAddr()); - } - - void invalidateBlk(CacheBlk *blk) - { - tags->invalidateBlk(tags->regenerateBlkAddr(blk->tag, blk->set)); - } - public: class Params @@ -399,14 +384,6 @@ class Cache : public BaseCache void snoopResponse(PacketPtr &pkt); /** - * Invalidates the block containing address if found. - * @param addr The address to look for. - * @param asid The address space ID of the address. - * @todo Is this function necessary? - */ - void invalidateBlk(Addr addr); - - /** * Squash all requests associated with specified thread. * intended for use by I-cache. * @param threadNum The thread to squash. |