ruby: set: corrects csprintf() call introduced by 7d95b650c9b6
[gem5.git] / src / sim / root.hh
index 76a508c19482201e5770501cee1e6f65adf9dd29..6a7b5dc938792f0c038b7fb6ecd0cf69adbd26be 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011 Advanced Micro Devices
+ * Copyright (c) 2011 Advanced Micro Devices, Inc.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -111,6 +111,10 @@ class Root : public SimObject
     /** 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);
+
 };
 
 #endif // __SIM_ROOT_HH__