diff options
Diffstat (limited to 'src/mem/cache/tags/fa_lru.hh')
-rw-r--r-- | src/mem/cache/tags/fa_lru.hh | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh index dbb39b7d1..22b67c534 100644 --- a/src/mem/cache/tags/fa_lru.hh +++ b/src/mem/cache/tags/fa_lru.hh @@ -186,6 +186,15 @@ class FALRU : public BaseTags CacheBlk* findBlock(Addr addr, bool is_secure) const override; /** + * Find a block given set and way. + * + * @param set The set of the block. + * @param way The way of the block. + * @return The block. + */ + ReplaceableEntry* findBlockBySetAndWay(int set, int way) const override; + + /** * Find replacement victim based on address. * * @param addr Address to find a victim for. @@ -202,14 +211,6 @@ class FALRU : public BaseTags void insertBlock(PacketPtr pkt, CacheBlk *blk) override; /** - * Find the cache block given set and way - * @param set The set of the block. - * @param way The way of the block. - * @return The cache block. - */ - CacheBlk* findBlockBySetAndWay(int set, int way) const override; - - /** * Generate the tag from the addres. For fully associative this is just the * block address. * @param addr The address to get the tag from. |