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 // 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 ---
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 // 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 ---