diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-03 15:40:20 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-03 15:40:20 -0500 |
commit | 80b911afd573ecda0cefb8f24b83d94b7faf4b7b (patch) | |
tree | 95aa2f9794fe70fa812c63583f9db6602457b69e /src/sim/root.cc | |
parent | 2ab38ba13c6245480a08cd5b8651b5af8fce5a4b (diff) | |
parent | 87b9da2df4d4dc0028566a7803ee55159343d735 (diff) | |
download | gem5-80b911afd573ecda0cefb8f24b83d94b7faf4b7b.tar.xz |
merged with recent commits.
Diffstat (limited to 'src/sim/root.cc')
-rw-r--r-- | src/sim/root.cc | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/sim/root.cc b/src/sim/root.cc index 1d58c3bbe..7647ca5b7 100644 --- a/src/sim/root.cc +++ b/src/sim/root.cc @@ -132,8 +132,6 @@ Root::loadState(CheckpointIn &cp) void Root::serialize(CheckpointOut &cp) const { - uint64_t cpt_ver = gem5CheckpointVersion; - SERIALIZE_SCALAR(cpt_ver); SERIALIZE_SCALAR(FullSystem); std::string isa = THE_ISA_STR; SERIALIZE_SCALAR(isa); @@ -141,27 +139,7 @@ Root::serialize(CheckpointOut &cp) const void Root::unserialize(CheckpointIn &cp) -{ - uint64_t cpt_ver = 0; - UNSERIALIZE_OPT_SCALAR(cpt_ver); - if (cpt_ver < gem5CheckpointVersion) { - warn("**********************************************************\n"); - warn("!!!! Checkpoint ver %#x is older than current ver %#x !!!!\n", - cpt_ver, gem5CheckpointVersion); - warn("You might experience some issues when restoring and should run " - "the checkpoint upgrader (util/cpt_upgrader.py) on your " - "checkpoint\n"); - warn("**********************************************************\n"); - } else if (cpt_ver > gem5CheckpointVersion) { - warn("**********************************************************\n"); - warn("!!!! Checkpoint ver %#x is newer than current ver %#x !!!!\n", - cpt_ver, gem5CheckpointVersion); - warn("Running a new checkpoint with an older version of gem5 is not " - "supported. While it might work, you may experience incorrect " - "behavior or crashes.\n"); - warn("**********************************************************\n"); - } -} +{} bool FullSystem; |