diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-10-25 20:13:35 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-10-25 20:13:35 -0400 |
commit | 0711f4f17a4b4ac61b07cbe742f0d193f919ea8f (patch) | |
tree | 6fdd5b340696c7506dc85f4eb8cb39421da3ccaa /src/sim/system.cc | |
parent | b0e3aab5df9328ddfd13e396456cebdcaf0c8912 (diff) | |
download | gem5-0711f4f17a4b4ac61b07cbe742f0d193f919ea8f.tar.xz |
SE: Fix page table and system serialization, don't reinit process if this is a checkpoint restore.
--HG--
extra : convert_revision : 03dcf3c088e57b7abab60efe700d947117888306
Diffstat (limited to 'src/sim/system.cc')
-rw-r--r-- | src/sim/system.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc index 41c1b94e3..7dc1d2ba9 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -240,7 +240,9 @@ System::serialize(ostream &os) { #if FULL_SYSTEM kernelSymtab->serialize("kernel_symtab", os); -#endif // FULL_SYSTEM +#else // !FULL_SYSTEM + SERIALIZE_SCALAR(page_ptr); +#endif } @@ -249,7 +251,9 @@ System::unserialize(Checkpoint *cp, const string §ion) { #if FULL_SYSTEM kernelSymtab->unserialize("kernel_symtab", cp, section); -#endif // FULL_SYSTEM +#else // !FULL_SYSTEM + UNSERIALIZE_SCALAR(page_ptr); +#endif } void |