fa_lru.hh (13752:135bb759ee9c) fa_lru.hh (13941:2c19da00ef9c)
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

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

214 ReplaceableEntry* findBlockBySetAndWay(int set, int way) const override;
215
216 /**
217 * Find replacement victim based on address. The list of evicted blocks
218 * only contains the victim.
219 *
220 * @param addr Address to find a victim for.
221 * @param is_secure True if the target memory space is secure.
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

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

214 ReplaceableEntry* findBlockBySetAndWay(int set, int way) const override;
215
216 /**
217 * Find replacement victim based on address. The list of evicted blocks
218 * only contains the victim.
219 *
220 * @param addr Address to find a victim for.
221 * @param is_secure True if the target memory space is secure.
222 * @param size Size, in bits, of new block to allocate.
222 * @param evict_blks Cache blocks to be evicted.
223 * @return Cache block to be replaced.
224 */
225 CacheBlk* findVictim(Addr addr, const bool is_secure,
223 * @param evict_blks Cache blocks to be evicted.
224 * @return Cache block to be replaced.
225 */
226 CacheBlk* findVictim(Addr addr, const bool is_secure,
227 const std::size_t size,
226 std::vector<CacheBlk*>& evict_blks) const override;
227
228 /**
229 * Insert the new block into the cache and update replacement data.
230 *
231 * @param pkt Packet holding the address to update
232 * @param blk The block to update.
233 */

--- 160 unchanged lines hidden ---
228 std::vector<CacheBlk*>& evict_blks) const override;
229
230 /**
231 * Insert the new block into the cache and update replacement data.
232 *
233 * @param pkt Packet holding the address to update
234 * @param blk The block to update.
235 */

--- 160 unchanged lines hidden ---