summaryrefslogtreecommitdiff
path: root/dev/console.cc
diff options
context:
space:
mode:
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);
}