1/*
2 * Copyright (c) 2012-2013 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

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

406 * Find next request ready time from among possible sources.
407 */
408 Tick nextMSHRReadyTime() const;
409
410 public:
411 /** Instantiates a basic cache object. */
412 Cache(const Params *p);
413
414 /** Non-default destructor is needed to deallocate memory. */
415 virtual ~Cache();
416
417 void regStats();
418
419 /** serialize the state of the caches
420 * We currently don't support checkpointing cache state, so this panics.
421 */
422 virtual void serialize(std::ostream &os);
423 void unserialize(Checkpoint *cp, const std::string &section);
424};
425
426#endif // __CACHE_HH__