cache.cc (12700:c44381b89f9e) | cache.cc (12702:27cb33a96e0f) |
---|---|
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 } | 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++; |
|
1830 } 1831 } 1832 1833 return blk; 1834} 1835 1836void 1837Cache::invalidateBlock(CacheBlk *blk) --- 1026 unchanged lines hidden --- | 1831 } 1832 } 1833 1834 return blk; 1835} 1836 1837void 1838Cache::invalidateBlock(CacheBlk *blk) --- 1026 unchanged lines hidden --- |