summaryrefslogtreecommitdiff
path: root/dev/tsunami_io.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-06-04 14:26:17 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-06-04 14:26:17 -0400
commitdf45c7b404edf00ec76da655dd5b7c77ea21fc62 (patch)
treed3853654ca637c3ea1e1793f34d2763866f82eef /dev/tsunami_io.cc
parent07448480fc4c6d17d9645c051977fcc5fe392f6c (diff)
downloadgem5-df45c7b404edf00ec76da655dd5b7c77ea21fc62.tar.xz
fixed serialization in tsunami_io and tsunami_uart and console
dev/console.cc: dev/tsunami_io.cc: dev/tsunami_uart.cc: fixed serialization --HG-- extra : convert_revision : 1608a116b00007922fa382ddb0c10442a8724f8d
Diffstat (limited to 'dev/tsunami_io.cc')
-rw-r--r--dev/tsunami_io.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/tsunami_io.cc b/dev/tsunami_io.cc
index b902306a4..2da313f56 100644
--- a/dev/tsunami_io.cc
+++ b/dev/tsunami_io.cc
@@ -380,6 +380,10 @@ TsunamiIO::serialize(std::ostream &os)
{
SERIALIZE_SCALAR(timerData);
SERIALIZE_SCALAR(uip);
+ SERIALIZE_SCALAR(mask1);
+ SERIALIZE_SCALAR(mask2);
+ SERIALIZE_SCALAR(mode1);
+ SERIALIZE_SCALAR(mode2);
SERIALIZE_SCALAR(picr);
SERIALIZE_SCALAR(picInterrupting);
Tick time0when = timer0.when();
@@ -388,6 +392,7 @@ TsunamiIO::serialize(std::ostream &os)
SERIALIZE_SCALAR(time0when);
SERIALIZE_SCALAR(time2when);
SERIALIZE_SCALAR(rtcwhen);
+ SERIALIZE_SCALAR(RTCAddress);
}
@@ -396,6 +401,10 @@ TsunamiIO::unserialize(Checkpoint *cp, const std::string &section)
{
UNSERIALIZE_SCALAR(timerData);
UNSERIALIZE_SCALAR(uip);
+ UNSERIALIZE_SCALAR(mask1);
+ UNSERIALIZE_SCALAR(mask2);
+ UNSERIALIZE_SCALAR(mode1);
+ UNSERIALIZE_SCALAR(mode2);
UNSERIALIZE_SCALAR(picr);
UNSERIALIZE_SCALAR(picInterrupting);
Tick time0when;
@@ -407,6 +416,7 @@ TsunamiIO::unserialize(Checkpoint *cp, const std::string &section)
timer0.reschedule(time0when);
timer2.reschedule(time2when);
rtc.reschedule(rtcwhen);
+ UNSERIALIZE_SCALAR(RTCAddress);
}
BEGIN_DECLARE_SIM_OBJECT_PARAMS(TsunamiIO)