fa_lru.hh (9347:b02075171b57) fa_lru.hh (9663:45df88079f04)
1/*
2 * Copyright (c) 2012 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

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

296
297 /**
298 *iterated through all blocks and clear all locks
299 *Needed to clear all lock tracking at once
300 */
301 virtual void clearLocks();
302
303 /**
1/*
2 * Copyright (c) 2012 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

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

296
297 /**
298 *iterated through all blocks and clear all locks
299 *Needed to clear all lock tracking at once
300 */
301 virtual void clearLocks();
302
303 /**
304 * @todo Implement as in lru. Currently not used
305 */
306 virtual std::string print() const { return ""; }
307
308 /**
304 * Visit each block in the tag store and apply a visitor to the
305 * block.
306 *
307 * The visitor should be a function (or object that behaves like a
308 * function) that takes a cache block reference as its parameter
309 * and returns a bool. A visitor can request the traversal to be
310 * stopped by returning false, returning true causes it to be
311 * called for the next block in the tag store.

--- 13 unchanged lines hidden ---
309 * Visit each block in the tag store and apply a visitor to the
310 * block.
311 *
312 * The visitor should be a function (or object that behaves like a
313 * function) that takes a cache block reference as its parameter
314 * and returns a bool. A visitor can request the traversal to be
315 * stopped by returning false, returning true causes it to be
316 * called for the next block in the tag store.

--- 13 unchanged lines hidden ---