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

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

53#include <functional>
54#include <string>
55
56#include "base/callback.hh"
57#include "base/logging.hh"
58#include "base/statistics.hh"
59#include "base/types.hh"
60#include "mem/cache/cache_blk.hh"
61#include "mem/packet.hh"
62#include "params/BaseTags.hh"
63#include "sim/clocked_object.hh"
64
65class System;
66class IndexingPolicy;
67class ReplaceableEntry;
68
69/**

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

301 * @param addr The address to get the tag from.
302 * @return The tag of the address.
303 */
304 virtual Addr extractTag(const Addr addr) const;
305
306 /**
307 * Insert the new block into the cache and update stats.
308 *
309 * @param pkt Packet holding the address to update
310 * @param blk The block to update.
311 */
312 virtual void insertBlock(const PacketPtr pkt, CacheBlk *blk);
313
314 /**
315 * Regenerate the block address.
316 *
317 * @param block The block.
318 * @return the block address.
319 */
320 virtual Addr regenerateBlkAddr(const CacheBlk* blk) const = 0;

--- 55 unchanged lines hidden ---