cpu.hh (10407:a9023811bf9e) cpu.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

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

141
142 /** Stats interface from SimObject (by way of BaseCPU) */
143 void regStats();
144
145 /** Simple inst count interface from BaseCPU */
146 Counter totalInsts() const;
147 Counter totalOps() const;
148
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

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

141
142 /** Stats interface from SimObject (by way of BaseCPU) */
143 void regStats();
144
145 /** Simple inst count interface from BaseCPU */
146 Counter totalInsts() const;
147 Counter totalOps() const;
148
149 void serializeThread(std::ostream &os, ThreadID thread_id);
150 void unserializeThread(Checkpoint *cp, const std::string &section,
151 ThreadID thread_id);
149 void serializeThread(CheckpointOut &cp,
150 ThreadID tid) const M5_ATTR_OVERRIDE;
151 void unserializeThread(CheckpointIn &cp, ThreadID tid) M5_ATTR_OVERRIDE;
152
153 /** Serialize pipeline data */
152
153 /** Serialize pipeline data */
154 void serialize(std::ostream &os);
155 void unserialize(Checkpoint *cp, const std::string &section);
154 void serialize(CheckpointOut &cp) const;
155 void unserialize(CheckpointIn &cp);
156
157 /** Drain interface */
158 unsigned int drain(DrainManager *drain_manager);
159 void drainResume();
160 /** Signal from Pipeline that MinorCPU should signal the DrainManager
161 * that a drain is complete and set its drainState */
162 void signalDrainDone();
163 void memWriteback();

--- 17 unchanged lines hidden ---
156
157 /** Drain interface */
158 unsigned int drain(DrainManager *drain_manager);
159 void drainResume();
160 /** Signal from Pipeline that MinorCPU should signal the DrainManager
161 * that a drain is complete and set its drainState */
162 void signalDrainDone();
163 void memWriteback();

--- 17 unchanged lines hidden ---