syscall_emul: file descriptor interface changes
[gem5.git] / src / sim / root.hh
index 76a508c19482201e5770501cee1e6f65adf9dd29..1c330e2c47897ac4271e388810d276e987415f19 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
@@ -106,11 +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();
+
+    void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
+    void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
 };
 
 #endif // __SIM_ROOT_HH__