base.hh (12728:57bdea4f96aa) | base.hh (12731:36a41bd85c0f) |
---|---|
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 --- 274 unchanged lines hidden (view full) --- 283 /** 284 * Regenerate the block address. 285 * 286 * @param block The block. 287 * @return the block address. 288 */ 289 virtual Addr regenerateBlkAddr(const CacheBlk* blk) const = 0; 290 | 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 --- 274 unchanged lines hidden (view full) --- 283 /** 284 * Regenerate the block address. 285 * 286 * @param block The block. 287 * @return the block address. 288 */ 289 virtual Addr regenerateBlkAddr(const CacheBlk* blk) const = 0; 290 |
291 virtual int extractSet(Addr addr) const = 0; 292 293 | |
294 /** 295 * Visit each block in the tags and apply a visitor 296 * 297 * The visitor should be a std::function that takes a cache block 298 * reference as its parameter. 299 * 300 * @param visitor Visitor to call on each block. 301 */ --- 46 unchanged lines hidden --- | 291 /** 292 * Visit each block in the tags and apply a visitor 293 * 294 * The visitor should be a std::function that takes a cache block 295 * reference as its parameter. 296 * 297 * @param visitor Visitor to call on each block. 298 */ --- 46 unchanged lines hidden --- |