base_set_assoc.cc (12743:b5ccee582b40) base_set_assoc.cc (12745:e28c117a9806)
1/*
2 * Copyright (c) 2012-2014 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

--- 99 unchanged lines hidden (view full) ---

108 }
109}
110
111void
112BaseSetAssoc::invalidate(CacheBlk *blk)
113{
114 BaseTags::invalidate(blk);
115
1/*
2 * Copyright (c) 2012-2014 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

--- 99 unchanged lines hidden (view full) ---

108 }
109}
110
111void
112BaseSetAssoc::invalidate(CacheBlk *blk)
113{
114 BaseTags::invalidate(blk);
115
116 // Decrease the number of tags in use
117 tagsInUse--;
118
116 // Invalidate replacement data
117 replacementPolicy->invalidate(blk->replacementData);
118}
119
120CacheBlk*
121BaseSetAssoc::findBlock(Addr addr, bool is_secure) const
122{
123 Addr tag = extractTag(addr);

--- 16 unchanged lines hidden ---
119 // Invalidate replacement data
120 replacementPolicy->invalidate(blk->replacementData);
121}
122
123CacheBlk*
124BaseSetAssoc::findBlock(Addr addr, bool is_secure) const
125{
126 Addr tag = extractTag(addr);

--- 16 unchanged lines hidden ---