1/* 2 * Copyright (c) 2018 Inria 3 * Copyright (c) 2013,2016-2018 ARM Limited 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 182 unchanged lines hidden (view full) --- 191ReplaceableEntry* 192FALRU::findBlockBySetAndWay(int set, int way) const 193{ 194 assert(set == 0); 195 return &blks[way]; 196} 197 198CacheBlk* |
199FALRU::findVictim(Addr addr, const bool is_secure, const std::size_t size, |
200 std::vector<CacheBlk*>& evict_blks) const 201{ 202 // The victim is always stored on the tail for the FALRU 203 FALRUBlk* victim = tail; 204 205 // There is only one eviction for this replacement 206 evict_blks.push_back(victim); 207 --- 250 unchanged lines hidden --- |