projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fcf8e9
)
mc146818: Correctly serialize tickEvent
author
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 10 Oct 2011 22:01:33 +0000
(17:01 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 10 Oct 2011 22:01:33 +0000
(17:01 -0500)
'tickEvent' was not being serialized as in its place 'event' was being used.
This patch rectifies this error.
src/dev/mc146818.cc
patch
|
blob
|
history
diff --git
a/src/dev/mc146818.cc
b/src/dev/mc146818.cc
index 9397a599b5be90d8490fec82254dbce989466821..b0aaf6e64db2eb188b9449e567049c9ea4ca606b 100644
(file)
--- a/
src/dev/mc146818.cc
+++ b/
src/dev/mc146818.cc
@@
-217,7
+217,7
@@
MC146818::serialize(const string &base, ostream &os)
//
Tick rtcTimerInterruptTickOffset = event.when() - curTick();
SERIALIZE_SCALAR(rtcTimerInterruptTickOffset);
- Tick rtcClockTickOffset =
e
vent.when() - curTick();
+ Tick rtcClockTickOffset =
tickE
vent.when() - curTick();
SERIALIZE_SCALAR(rtcClockTickOffset);
}