summaryrefslogtreecommitdiff
path: root/src/dev/x86/speaker.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/speaker.hh')
-rw-r--r--src/dev/x86/speaker.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dev/x86/speaker.hh b/src/dev/x86/speaker.hh
index 22fc03e1c..3c879060f 100644
--- a/src/dev/x86/speaker.hh
+++ b/src/dev/x86/speaker.hh
@@ -73,9 +73,8 @@ class Speaker : public BasicPioDevice
Tick write(PacketPtr pkt);
- 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;
};
} // namespace X86ISA