base.hh (12746:0d0c266663d4) base.hh (12753:fe5b2dbe42bb)
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

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

282 virtual Addr extractTag(Addr addr) const = 0;
283
284 /**
285 * Insert the new block into the cache and update stats.
286 *
287 * @param pkt Packet holding the address to update
288 * @param blk The block to update.
289 */
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

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

282 virtual Addr extractTag(Addr addr) const = 0;
283
284 /**
285 * Insert the new block into the cache and update stats.
286 *
287 * @param pkt Packet holding the address to update
288 * @param blk The block to update.
289 */
290 virtual void insertBlock(PacketPtr pkt, CacheBlk *blk);
290 virtual void insertBlock(const PacketPtr pkt, CacheBlk *blk);
291
292 /**
293 * Regenerate the block address.
294 *
295 * @param block The block.
296 * @return the block address.
297 */
298 virtual Addr regenerateBlkAddr(const CacheBlk* blk) const = 0;

--- 55 unchanged lines hidden ---
291
292 /**
293 * Regenerate the block address.
294 *
295 * @param block The block.
296 * @return the block address.
297 */
298 virtual Addr regenerateBlkAddr(const CacheBlk* blk) const = 0;

--- 55 unchanged lines hidden ---