summaryrefslogtreecommitdiff
path: root/src/dev/i2cbus.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/i2cbus.hh')
-rw-r--r--src/dev/i2cbus.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/i2cbus.hh b/src/dev/i2cbus.hh
index 318950b39..3ebfa308b 100644
--- a/src/dev/i2cbus.hh
+++ b/src/dev/i2cbus.hh
@@ -146,8 +146,8 @@ class I2CBus : public BasicPioDevice
virtual Tick read(PacketPtr pkt);
virtual 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;
};
#endif //__DEV_I2CBUS