Deleted Added
sdiff udiff text old ( 12743:b5ccee582b40 ) new ( 12744:d1ff0b42b747 )
full compact
1/*
2 * Copyright (c) 2012-2014,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

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

257 occupancies[blk->srcMasterId]--;
258 totalRefs += blk->refCount;
259 sampledRefs++;
260
261 blk->invalidate();
262 }
263
264 /**
265 * Find replacement victim based on address.
266 *
267 * @param addr Address to find a victim for.
268 * @return Cache block to be replaced.
269 */
270 virtual CacheBlk* findVictim(Addr addr) = 0;
271
272 virtual CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat) = 0;
273
274 virtual Addr extractTag(Addr addr) const = 0;
275
276 /**
277 * Insert the new block into the cache and update stats.
278 *

--- 67 unchanged lines hidden ---