fa_lru.hh (10028:fb8c44de891a) | fa_lru.hh (10048:1548b7aa657c) |
---|---|
1/* 2 * Copyright (c) 2012-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 --- 189 unchanged lines hidden (view full) --- 198 * @param asid The address space ID. 199 * @return Pointer to the cache block. 200 */ 201 FALRUBlk* findBlock(Addr addr, bool is_secure) const; 202 203 /** 204 * Find a replacement block for the address provided. 205 * @param pkt The request to a find a replacement candidate for. | 1/* 2 * Copyright (c) 2012-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 --- 189 unchanged lines hidden (view full) --- 198 * @param asid The address space ID. 199 * @return Pointer to the cache block. 200 */ 201 FALRUBlk* findBlock(Addr addr, bool is_secure) const; 202 203 /** 204 * Find a replacement block for the address provided. 205 * @param pkt The request to a find a replacement candidate for. |
206 * @param writebacks List for any writebacks to be performed. | |
207 * @return The block to place the replacement in. 208 */ | 206 * @return The block to place the replacement in. 207 */ |
209 FALRUBlk* findVictim(Addr addr, PacketList & writebacks); | 208 FALRUBlk* findVictim(Addr addr); |
210 211 void insertBlock(PacketPtr pkt, BlkType *blk); 212 213 /** 214 * Return the hit latency of this cache. 215 * @return The hit latency. 216 */ 217 Cycles getHitLatency() const --- 110 unchanged lines hidden --- | 209 210 void insertBlock(PacketPtr pkt, BlkType *blk); 211 212 /** 213 * Return the hit latency of this cache. 214 * @return The hit latency. 215 */ 216 Cycles getHitLatency() const --- 110 unchanged lines hidden --- |