summaryrefslogtreecommitdiff
path: root/src/dev/ide_ctrl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/ide_ctrl.hh')
-rw-r--r--src/dev/ide_ctrl.hh9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/dev/ide_ctrl.hh b/src/dev/ide_ctrl.hh
index 414e31087..7917432e4 100644
--- a/src/dev/ide_ctrl.hh
+++ b/src/dev/ide_ctrl.hh
@@ -111,9 +111,8 @@ class IdeController : public PciDevice
Channel(std::string newName, Addr _cmdSize, Addr _ctrlSize);
~Channel();
- void serialize(const std::string &base, std::ostream &os);
- void unserialize(const std::string &base, Checkpoint *cp,
- const std::string &section);
+ void serialize(const std::string &base, std::ostream &os) const;
+ void unserialize(const std::string &base, CheckpointIn &cp);
};
Channel primary;
@@ -155,7 +154,7 @@ class IdeController : public PciDevice
Tick read(PacketPtr pkt);
Tick write(PacketPtr pkt);
- void serialize(std::ostream &os);
- void unserialize(Checkpoint *cp, const std::string &section);
+ void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
+ void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
};
#endif // __IDE_CTRL_HH_