root.cc (9048:950298f29140) | root.cc (9293:df7c3f99ebca) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 132 unchanged lines hidden (view full) --- 141{ 142 uint64_t cpt_ver = 0; 143 UNSERIALIZE_OPT_SCALAR(cpt_ver); 144 if (cpt_ver < gem5CheckpointVersion) { 145 warn("**********************************************************\n"); 146 warn("!!!! Checkpoint ver %#x is older than current ver %#x !!!!\n", 147 cpt_ver, gem5CheckpointVersion); 148 warn("You might experience some issues when restoring and should run " | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 132 unchanged lines hidden (view full) --- 141{ 142 uint64_t cpt_ver = 0; 143 UNSERIALIZE_OPT_SCALAR(cpt_ver); 144 if (cpt_ver < gem5CheckpointVersion) { 145 warn("**********************************************************\n"); 146 warn("!!!! Checkpoint ver %#x is older than current ver %#x !!!!\n", 147 cpt_ver, gem5CheckpointVersion); 148 warn("You might experience some issues when restoring and should run " |
149 "the checkpoint upgrader (util/cpt_upgrade.py) on your " | 149 "the checkpoint upgrader (util/cpt_upgrader.py) on your " |
150 "checkpoint\n"); 151 warn("**********************************************************\n"); 152 } else if (cpt_ver > gem5CheckpointVersion) { 153 warn("**********************************************************\n"); 154 warn("!!!! Checkpoint ver %#x is newer than current ver %#x !!!!\n", 155 cpt_ver, gem5CheckpointVersion); 156 warn("Running a new checkpoint with an older version of gem5 is not " 157 "supported. While it might work, you may experience incorrect " --- 23 unchanged lines hidden --- | 150 "checkpoint\n"); 151 warn("**********************************************************\n"); 152 } else if (cpt_ver > gem5CheckpointVersion) { 153 warn("**********************************************************\n"); 154 warn("!!!! Checkpoint ver %#x is newer than current ver %#x !!!!\n", 155 cpt_ver, gem5CheckpointVersion); 156 warn("Running a new checkpoint with an older version of gem5 is not " 157 "supported. While it might work, you may experience incorrect " --- 23 unchanged lines hidden --- |