summaryrefslogtreecommitdiff
path: root/dev/tsunami_cchip.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-02-11 15:36:36 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-02-11 15:36:36 -0500
commit29eae76153c325e1b16785e65381075eaeaa7d3b (patch)
tree61473081de8105d5f421249815de11c69e394604 /dev/tsunami_cchip.cc
parente72e8b28c8579f56b36b89f1b6cbfba169202f1e (diff)
parent0f34a00703bf4dd2cd0ff673e343b72ad5bdc5bd (diff)
downloadgem5-29eae76153c325e1b16785e65381075eaeaa7d3b.tar.xz
Merge
dev/tsunami_cchip.cc: dev/tsunami_io.cc: dev/tsunami_pchip.cc: dev/tsunami_uart.cc: SCCS merged --HG-- extra : convert_revision : da3d1998d6dd39e0d3f8754074c513cdd8a4193c
Diffstat (limited to 'dev/tsunami_cchip.cc')
-rw-r--r--dev/tsunami_cchip.cc14
1 files changed, 12 insertions, 2 deletions
diff --git a/dev/tsunami_cchip.cc b/dev/tsunami_cchip.cc
index b825a91bc..2d8113491 100644
--- a/dev/tsunami_cchip.cc
+++ b/dev/tsunami_cchip.cc
@@ -279,13 +279,23 @@ TsunamiCChip::clearDRIR(uint64_t bitvector)
void
TsunamiCChip::serialize(std::ostream &os)
{
- // code should be written
+ SERIALIZE_ARRAY(dim, Tsunami::Max_CPUs);
+ SERIALIZE_ARRAY(dir, Tsunami::Max_CPUs);
+ SERIALIZE_ARRAY(dirInterrupting, Tsunami::Max_CPUs);
+ SERIALIZE_SCALAR(drir);
+ SERIALIZE_SCALAR(misc);
+ SERIALIZE_SCALAR(RTCInterrupting);
}
void
TsunamiCChip::unserialize(Checkpoint *cp, const std::string &section)
{
- //code should be written
+ UNSERIALIZE_ARRAY(dim, Tsunami::Max_CPUs);
+ UNSERIALIZE_ARRAY(dir, Tsunami::Max_CPUs);
+ UNSERIALIZE_ARRAY(dirInterrupting, Tsunami::Max_CPUs);
+ UNSERIALIZE_SCALAR(drir);
+ UNSERIALIZE_SCALAR(misc);
+ UNSERIALIZE_SCALAR(RTCInterrupting);
}
BEGIN_DECLARE_SIM_OBJECT_PARAMS(TsunamiCChip)