fa_lru.cc (12727:56c23b54bcb1) fa_lru.cc (12743:b5ccee582b40)
1/*
2 * Copyright (c) 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

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

180 assert(blk->tag == tag);
181 assert(blk->isSecure() == is_secure);
182 } else {
183 blk = nullptr;
184 }
185 return blk;
186}
187
1/*
2 * Copyright (c) 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

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

180 assert(blk->tag == tag);
181 assert(blk->isSecure() == is_secure);
182 } else {
183 blk = nullptr;
184 }
185 return blk;
186}
187
188CacheBlk*
188ReplaceableEntry*
189FALRU::findBlockBySetAndWay(int set, int way) const
190{
191 assert(set == 0);
192 return &blks[way];
193}
194
195CacheBlk*
196FALRU::findVictim(Addr addr)

--- 248 unchanged lines hidden ---
189FALRU::findBlockBySetAndWay(int set, int way) const
190{
191 assert(set == 0);
192 return &blks[way];
193}
194
195CacheBlk*
196FALRU::findVictim(Addr addr)

--- 248 unchanged lines hidden ---