changeset 92ba80d63abc in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=92ba80d63abc
description:
        mc146818: Correctly serialize tickEvent
        'tickEvent' was not being serialized as in its place 'event' was being 
used.
        This patch rectifies this error.

diffstat:

 src/dev/mc146818.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 30a97c4198df -r 92ba80d63abc src/dev/mc146818.cc
--- a/src/dev/mc146818.cc       Tue Sep 27 00:25:26 2011 -0700
+++ b/src/dev/mc146818.cc       Mon Oct 10 17:01:33 2011 -0500
@@ -217,7 +217,7 @@
     //
     Tick rtcTimerInterruptTickOffset = event.when() - curTick();
     SERIALIZE_SCALAR(rtcTimerInterruptTickOffset);
-    Tick rtcClockTickOffset = event.when() - curTick();
+    Tick rtcClockTickOffset = tickEvent.when() - curTick();
     SERIALIZE_SCALAR(rtcClockTickOffset);
 }
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to