Deleted Added
sdiff udiff text old ( 10028:fb8c44de891a ) new ( 10048:1548b7aa657c )
full compact
1/*
2 * Copyright (c) 2013 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

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

219 assert(blk->tag == blkAddr);
220 } else {
221 blk = NULL;
222 }
223 return blk;
224}
225
226FALRUBlk*
227FALRU::findVictim(Addr addr)
228{
229 FALRUBlk * blk = tail;
230 assert(blk->inCache == 0);
231 moveToHead(blk);
232 tagHash.erase(blk->tag);
233 tagHash[blkAlign(addr)] = blk;
234 if (blk->isValid()) {
235 replacements[0]++;

--- 86 unchanged lines hidden ---