1/* 2 * Copyright (c) 2010-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 --- 1813 unchanged lines hidden (view full) --- 1822 // Will send up Writeback/CleanEvict snoops via isCachedAbove 1823 // when pushing this writeback list into the write buffer. 1824 if (blk->isDirty() || writebackClean) { 1825 // Save writeback packet for handling by caller 1826 writebacks.push_back(writebackBlk(blk)); 1827 } else { 1828 writebacks.push_back(cleanEvictBlk(blk)); 1829 } |
1830 replacements++; |
1831 } 1832 } 1833 1834 return blk; 1835} 1836 1837void 1838Cache::invalidateBlock(CacheBlk *blk) --- 1026 unchanged lines hidden --- |