1/* 2 * Copyright (c) 2012-2014,2017 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 --- 234 unchanged lines hidden (view full) --- 243 } 244 245 /** 246 * Insert the new block into the cache and update replacement data. 247 * 248 * @param pkt Packet holding the address to update 249 * @param blk The block to update. 250 */ |
251 void insertBlock(const PacketPtr pkt, CacheBlk *blk) override |
252 { 253 // Insert block 254 BaseTags::insertBlock(pkt, blk); 255 256 // Increment tag counter 257 tagsInUse++; 258 259 // Update replacement policy --- 72 unchanged lines hidden --- |