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
--- 179 unchanged lines hidden (view full) ---
188ReplaceableEntry*
189FALRU::findBlockBySetAndWay(int set, int way) const
190{
191 assert(set == 0);
192 return &blks[way];
193}
194
195CacheBlk*
196FALRU::findVictim(Addr addr)
197{
198 return tail;
199}
200
201void
202FALRU::insertBlock(PacketPtr pkt, CacheBlk *blk)
203{
204 FALRUBlk* falruBlk = static_cast<FALRUBlk*>(blk);
205
206 // Make sure block is not present in the cache
--- 238 unchanged lines hidden ---
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
--- 179 unchanged lines hidden (view full) ---
188ReplaceableEntry*
189FALRU::findBlockBySetAndWay(int set, int way) const
190{
191 assert(set == 0);
192 return &blks[way];
193}
194
195CacheBlk*
196FALRU::findVictim(Addr addr)
197{
198 return tail;
199}
200
201void
202FALRU::insertBlock(PacketPtr pkt, CacheBlk *blk)
203{
204 FALRUBlk* falruBlk = static_cast<FALRUBlk*>(blk);
205
206 // Make sure block is not present in the cache
--- 238 unchanged lines hidden ---