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
This commit is contained in:
@@ -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 §ion)
|
||||
{
|
||||
UNSERIALIZE_SCALAR(_status);
|
||||
UNSERIALIZE_SCALAR(_enable);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user