1/* 2 * Copyright (c) 2012-2013,2016 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 --- 207 unchanged lines hidden (view full) --- 216 * Find the cache block given set and way 217 * @param set The set of the block. 218 * @param way The way of the block. 219 * @return The cache block. 220 */ 221 CacheBlk* findBlockBySetAndWay(int set, int way) const override; 222 223 /** |
224 * Generate the tag from the addres. For fully associative this is just the 225 * block address. 226 * @param addr The address to get the tag from. 227 * @return The tag. 228 */ 229 Addr extractTag(Addr addr) const override 230 { 231 return blkAlign(addr); --- 50 unchanged lines hidden --- |