summaryrefslogtreecommitdiff
path: root/src/sim/root.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/root.hh')
-rw-r--r--src/sim/root.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sim/root.hh b/src/sim/root.hh
index 6a7b5dc93..1c330e2c4 100644
--- a/src/sim/root.hh
+++ b/src/sim/root.hh
@@ -106,15 +106,14 @@ class Root : public SimObject
/** Schedule the timesync event at loadState() so that curTick is correct
*/
- void loadState(Checkpoint *cp);
+ void loadState(CheckpointIn &cp) M5_ATTR_OVERRIDE;
/** Schedule the timesync event at initState() when not unserializing
*/
void initState();
- virtual void serialize(std::ostream &os);
- virtual void unserialize(Checkpoint *cp, const std::string &section);
-
+ void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
+ void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
};
#endif // __SIM_ROOT_HH__