summaryrefslogtreecommitdiff
path: root/src/dev/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86')
-rw-r--r--src/dev/x86/cmos.cc6
-rw-r--r--src/dev/x86/cmos.hh1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/dev/x86/cmos.cc b/src/dev/x86/cmos.cc
index d7107deb7..6a778b758 100644
--- a/src/dev/x86/cmos.cc
+++ b/src/dev/x86/cmos.cc
@@ -113,6 +113,12 @@ X86ISA::Cmos::writeRegister(uint8_t reg, uint8_t val)
}
void
+X86ISA::Cmos::startup()
+{
+ rtc.startup();
+}
+
+void
X86ISA::Cmos::serialize(std::ostream &os)
{
SERIALIZE_SCALAR(address);
diff --git a/src/dev/x86/cmos.hh b/src/dev/x86/cmos.hh
index 7957e5304..fa5865c0a 100644
--- a/src/dev/x86/cmos.hh
+++ b/src/dev/x86/cmos.hh
@@ -82,6 +82,7 @@ class Cmos : public BasicPioDevice
Tick write(PacketPtr pkt);
+ virtual void startup();
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string &section);