fa_lru.hh (13378:038ea95fd793) | fa_lru.hh (13418:08101e89101e) |
---|---|
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 --- 166 unchanged lines hidden (view full) --- 175 * @param blk The block to invalidate. 176 */ 177 void invalidate(CacheBlk *blk) override; 178 179 /** 180 * Access block and update replacement data. May not succeed, in which 181 * case nullptr pointer is returned. This has all the implications of a 182 * cache access and should only be used as such. | 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 --- 166 unchanged lines hidden (view full) --- 175 * @param blk The block to invalidate. 176 */ 177 void invalidate(CacheBlk *blk) override; 178 179 /** 180 * Access block and update replacement data. May not succeed, in which 181 * case nullptr pointer is returned. This has all the implications of a 182 * cache access and should only be used as such. |
183 * Returns the access latency and inCachesMask flags as a side effect. | 183 * Returns tag lookup latency and the inCachesMask flags as a side effect. 184 * |
184 * @param addr The address to look for. 185 * @param is_secure True if the target memory space is secure. | 185 * @param addr The address to look for. 186 * @param is_secure True if the target memory space is secure. |
186 * @param lat The latency of the access. | 187 * @param lat The latency of the tag lookup. |
187 * @param in_cache_mask Mask indicating the caches in which the blk fits. 188 * @return Pointer to the cache block. 189 */ 190 CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat, 191 CachesMask *in_cache_mask); 192 193 /** 194 * Just a wrapper of above function to conform with the base interface. --- 204 unchanged lines hidden --- | 188 * @param in_cache_mask Mask indicating the caches in which the blk fits. 189 * @return Pointer to the cache block. 190 */ 191 CacheBlk* accessBlock(Addr addr, bool is_secure, Cycles &lat, 192 CachesMask *in_cache_mask); 193 194 /** 195 * Just a wrapper of above function to conform with the base interface. --- 204 unchanged lines hidden --- |