fa_lru.hh (12728:57bdea4f96aa) fa_lru.hh (12731:36a41bd85c0f)
1/*
2 * Copyright (c) 2012-2013,2016,2018 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

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

216 * @return The tag.
217 */
218 Addr extractTag(Addr addr) const override
219 {
220 return blkAlign(addr);
221 }
222
223 /**
1/*
2 * Copyright (c) 2012-2013,2016,2018 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

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

216 * @return The tag.
217 */
218 Addr extractTag(Addr addr) const override
219 {
220 return blkAlign(addr);
221 }
222
223 /**
224 * Return the set of an address. Only one set in a fully associative cache.
225 * @param addr The address to get the set from.
226 * @return 0.
227 */
228 int extractSet(Addr addr) const override
229 {
230 return 0;
231 }
232
233 /**
234 * Regenerate the block address from the tag.
235 *
236 * @param block The block.
237 * @return the block address.
238 */
239 Addr regenerateBlkAddr(const CacheBlk* blk) const override
240 {
241 return blk->tag;

--- 143 unchanged lines hidden ---
224 * Regenerate the block address from the tag.
225 *
226 * @param block The block.
227 * @return the block address.
228 */
229 Addr regenerateBlkAddr(const CacheBlk* blk) const override
230 {
231 return blk->tag;

--- 143 unchanged lines hidden ---