fa_lru.cc (12746:0d0c266663d4) | fa_lru.cc (12753:fe5b2dbe42bb) |
---|---|
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 --- 194 unchanged lines hidden (view full) --- 203 204 // There is only one eviction for this replacement 205 evict_blks.push_back(victim); 206 207 return victim; 208} 209 210void | 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 --- 194 unchanged lines hidden (view full) --- 203 204 // There is only one eviction for this replacement 205 evict_blks.push_back(victim); 206 207 return victim; 208} 209 210void |
211FALRU::insertBlock(PacketPtr pkt, CacheBlk *blk) | 211FALRU::insertBlock(const PacketPtr pkt, CacheBlk *blk) |
212{ 213 FALRUBlk* falruBlk = static_cast<FALRUBlk*>(blk); 214 215 // Make sure block is not present in the cache 216 assert(falruBlk->inCachesMask == 0); 217 218 // Do common block insertion functionality 219 BaseTags::insertBlock(pkt, blk); --- 237 unchanged lines hidden --- | 212{ 213 FALRUBlk* falruBlk = static_cast<FALRUBlk*>(blk); 214 215 // Make sure block is not present in the cache 216 assert(falruBlk->inCachesMask == 0); 217 218 // Do common block insertion functionality 219 BaseTags::insertBlock(pkt, blk); --- 237 unchanged lines hidden --- |