Deleted Added
sdiff udiff text old ( 12637:bfc3cb9c7e6c ) new ( 12684:44ebd2bc020f )
full compact
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
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 ---