cache.cc (11375:f98df9231cdd) | cache.cc (11436:f351b7f248db) |
---|---|
1/* 2 * Copyright (c) 2010-2016 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 --- 1695 unchanged lines hidden (view full) --- 1704 // allocation failed, block not inserted 1705 return NULL; 1706 } else { 1707 DPRINTF(Cache, "replacement: replacing %#llx (%s) with %#llx (%s): %s\n", 1708 repl_addr, blk->isSecure() ? "s" : "ns", 1709 addr, is_secure ? "s" : "ns", 1710 blk->isDirty() ? "writeback" : "clean"); 1711 | 1/* 2 * Copyright (c) 2010-2016 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 --- 1695 unchanged lines hidden (view full) --- 1704 // allocation failed, block not inserted 1705 return NULL; 1706 } else { 1707 DPRINTF(Cache, "replacement: replacing %#llx (%s) with %#llx (%s): %s\n", 1708 repl_addr, blk->isSecure() ? "s" : "ns", 1709 addr, is_secure ? "s" : "ns", 1710 blk->isDirty() ? "writeback" : "clean"); 1711 |
1712 if (blk->wasPrefetched()) { 1713 unusedPrefetches++; 1714 } |
|
1712 // Will send up Writeback/CleanEvict snoops via isCachedAbove 1713 // when pushing this writeback list into the write buffer. 1714 if (blk->isDirty() || writebackClean) { 1715 // Save writeback packet for handling by caller 1716 writebacks.push_back(writebackBlk(blk)); 1717 } else { 1718 writebacks.push_back(cleanEvictBlk(blk)); 1719 } --- 998 unchanged lines hidden --- | 1715 // Will send up Writeback/CleanEvict snoops via isCachedAbove 1716 // when pushing this writeback list into the write buffer. 1717 if (blk->isDirty() || writebackClean) { 1718 // Save writeback packet for handling by caller 1719 writebacks.push_back(writebackBlk(blk)); 1720 } else { 1721 writebacks.push_back(cleanEvictBlk(blk)); 1722 } --- 998 unchanged lines hidden --- |