cache.hh (10883:9294c4a60251) cache.hh (10905:a6ca6831e775)
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

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

424 /** Non-default destructor is needed to deallocate memory. */
425 virtual ~Cache();
426
427 void regStats();
428
429 /** serialize the state of the caches
430 * We currently don't support checkpointing cache state, so this panics.
431 */
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

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

424 /** Non-default destructor is needed to deallocate memory. */
425 virtual ~Cache();
426
427 void regStats();
428
429 /** serialize the state of the caches
430 * We currently don't support checkpointing cache state, so this panics.
431 */
432 virtual void serialize(std::ostream &os);
433 void unserialize(Checkpoint *cp, const std::string &section);
432 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
433 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
434};
435
436/**
437 * Wrap a method and present it as a cache block visitor.
438 *
439 * For example the forEachBlk method in the tag arrays expects a
440 * callable object/function as their parameter. This class wraps a
441 * method in an object and presents callable object that adheres to

--- 53 unchanged lines hidden ---
434};
435
436/**
437 * Wrap a method and present it as a cache block visitor.
438 *
439 * For example the forEachBlk method in the tag arrays expects a
440 * callable object/function as their parameter. This class wraps a
441 * method in an object and presents callable object that adheres to

--- 53 unchanged lines hidden ---