From 02c376ac44584484268bd714a45fa0f0265a896a Mon Sep 17 00:00:00 2001 From: Cagdas Dirik Date: Sat, 3 Jan 2015 17:51:48 -0600 Subject: dev: prevent RTC events firing before startup This change includes edits to MC146818 timer to prevent RTC events firing before startup to comply with SimObject initialization call sequence. Committed by: Nilay Vaish --- src/dev/x86/cmos.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dev/x86/cmos.hh') 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 §ion); -- cgit v1.2.3