base.cc (12637:bfc3cb9c7e6c) | base.cc (12684:44ebd2bc020f) |
---|---|
1/* 2 * Copyright (c) 2013,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 --- 86 unchanged lines hidden (view full) --- 95 replacements[0]++; 96 totalRefs += blk->refCount; 97 ++sampledRefs; 98 99 invalidate(blk); 100 blk->invalidate(); 101 } 102 | 1/* 2 * Copyright (c) 2013,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 --- 86 unchanged lines hidden (view full) --- 95 replacements[0]++; 96 totalRefs += blk->refCount; 97 ++sampledRefs; 98 99 invalidate(blk); 100 blk->invalidate(); 101 } 102 |
103 // Touch block 104 blk->isTouched = true; 105 blk->refCount = 1; 106 blk->tickInserted = curTick(); 107 |
|
103 // Previous block, if existed, has been removed, and now we have 104 // to insert the new one 105 tagsInUse++; 106 107 // Set tag for new block. Caller is responsible for setting status. 108 blk->tag = extractTag(addr); 109 110 // Deal with what we are bringing in --- 110 unchanged lines hidden --- | 108 // Previous block, if existed, has been removed, and now we have 109 // to insert the new one 110 tagsInUse++; 111 112 // Set tag for new block. Caller is responsible for setting status. 113 blk->tag = extractTag(addr); 114 115 // Deal with what we are bringing in --- 110 unchanged lines hidden --- |