summaryrefslogtreecommitdiff
path: root/dev/console.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/console.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/console.cc')
-rw-r--r--dev/console.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/console.cc b/dev/console.cc
index ef3f64d8d..a4b82e137 100644
--- a/dev/console.cc
+++ b/dev/console.cc
@@ -377,11 +377,15 @@ SimConsole::setPlatform(Platform *p)
void
SimConsole::serialize(ostream &os)
{
+ SERIALIZE_SCALAR(_status);
+ SERIALIZE_SCALAR(_enable);
}
void
SimConsole::unserialize(Checkpoint *cp, const std::string &section)
{
+ UNSERIALIZE_SCALAR(_status);
+ UNSERIALIZE_SCALAR(_enable);
}