base.hh (10767:993c2baa485a) base.hh (10821:581fb2484bd6)
1/*
2 * Copyright (c) 2012-2013, 2015 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

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

257 virtual void memInvalidate() = 0;
258 /**
259 * Determine if there are any dirty blocks in the cache.
260 *
261 * \return true if at least one block is dirty, false otherwise.
262 */
263 virtual bool isDirty() const = 0;
264
1/*
2 * Copyright (c) 2012-2013, 2015 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

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

257 virtual void memInvalidate() = 0;
258 /**
259 * Determine if there are any dirty blocks in the cache.
260 *
261 * \return true if at least one block is dirty, false otherwise.
262 */
263 virtual bool isDirty() const = 0;
264
265 /**
266 * Determine if an address is in the ranges covered by this
267 * cache. This is useful to filter snoops.
268 *
269 * @param addr Address to check against
270 *
271 * @return If the address in question is in range
272 */
273 bool inRange(Addr addr) const;
274
265 /** Block size of this cache */
266 const unsigned blkSize;
267
268 /**
269 * The latency of tag lookup of a cache. It occurs when there is
270 * an access to the cache.
271 */
272 const Cycles lookupLatency;

--- 335 unchanged lines hidden ---
275 /** Block size of this cache */
276 const unsigned blkSize;
277
278 /**
279 * The latency of tag lookup of a cache. It occurs when there is
280 * an access to the cache.
281 */
282 const Cycles lookupLatency;

--- 335 unchanged lines hidden ---