Deleted Added
sdiff udiff text old ( 13419:aaadcfae091a ) new ( 13752:135bb759ee9c )
full compact
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

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

57
58#include "base/bitfield.hh"
59#include "base/intmath.hh"
60#include "base/logging.hh"
61#include "base/statistics.hh"
62#include "base/types.hh"
63#include "mem/cache/cache_blk.hh"
64#include "mem/cache/tags/base.hh"
65#include "mem/packet.hh"
66#include "params/FALRU.hh"
67
68// Uncomment to enable sanity checks for the FALRU cache and the
69// TrackedCaches class
70//#define FALRU_DEBUG
71
72class BaseCache;
73class ReplaceableEntry;

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

223 * @return Cache block to be replaced.
224 */
225 CacheBlk* findVictim(Addr addr, const bool is_secure,
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 */
234 void insertBlock(const PacketPtr pkt, CacheBlk *blk) override;
235
236 /**
237 * Generate the tag from the addres. For fully associative this is just the
238 * block address.
239 * @param addr The address to get the tag from.
240 * @return The tag.
241 */
242 Addr extractTag(Addr addr) const override

--- 151 unchanged lines hidden ---