fa_lru.hh (12746:0d0c266663d4) fa_lru.hh (12753:fe5b2dbe42bb)
1/*
2 * Copyright (c) 2012-2013,2016,2018 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 198 unchanged lines hidden (view full) ---

207 std::vector<CacheBlk*>& evict_blks) const override;
208
209 /**
210 * Insert the new block into the cache and update replacement data.
211 *
212 * @param pkt Packet holding the address to update
213 * @param blk The block to update.
214 */
1/*
2 * Copyright (c) 2012-2013,2016,2018 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 198 unchanged lines hidden (view full) ---

207 std::vector<CacheBlk*>& evict_blks) const override;
208
209 /**
210 * Insert the new block into the cache and update replacement data.
211 *
212 * @param pkt Packet holding the address to update
213 * @param blk The block to update.
214 */
215 void insertBlock(PacketPtr pkt, CacheBlk *blk) override;
215 void insertBlock(const PacketPtr pkt, CacheBlk *blk) override;
216
217 /**
218 * Generate the tag from the addres. For fully associative this is just the
219 * block address.
220 * @param addr The address to get the tag from.
221 * @return The tag.
222 */
223 Addr extractTag(Addr addr) const override

--- 156 unchanged lines hidden ---
216
217 /**
218 * Generate the tag from the addres. For fully associative this is just the
219 * block address.
220 * @param addr The address to get the tag from.
221 * @return The tag.
222 */
223 Addr extractTag(Addr addr) const override

--- 156 unchanged lines hidden ---