cache.cc (12721:7f611e9412f0) | cache.cc (12722:d84f756891fe) |
---|---|
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 --- 1844 unchanged lines hidden (view full) --- 1853 // Will send up Writeback/CleanEvict snoops via isCachedAbove 1854 // when pushing this writeback list into the write buffer. 1855 if (blk->isDirty() || writebackClean) { 1856 // Save writeback packet for handling by caller 1857 writebacks.push_back(writebackBlk(blk)); 1858 } else { 1859 writebacks.push_back(cleanEvictBlk(blk)); 1860 } | 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 --- 1844 unchanged lines hidden (view full) --- 1853 // Will send up Writeback/CleanEvict snoops via isCachedAbove 1854 // when pushing this writeback list into the write buffer. 1855 if (blk->isDirty() || writebackClean) { 1856 // Save writeback packet for handling by caller 1857 writebacks.push_back(writebackBlk(blk)); 1858 } else { 1859 writebacks.push_back(cleanEvictBlk(blk)); 1860 } |
1861 invalidateBlock(blk); |
|
1861 replacements++; 1862 } 1863 } 1864 1865 return blk; 1866} 1867 1868void --- 1027 unchanged lines hidden --- | 1862 replacements++; 1863 } 1864 } 1865 1866 return blk; 1867} 1868 1869void --- 1027 unchanged lines hidden --- |