diff options
author | Andrew Bardsley <Andrew.Bardsley@arm.com> | 2014-11-14 03:54:02 -0500 |
---|---|---|
committer | Andrew Bardsley <Andrew.Bardsley@arm.com> | 2014-11-14 03:54:02 -0500 |
commit | 27b7b9e561000ce7712e6d7a28102b711cefa8a2 (patch) | |
tree | 979bc6e22b58cda64f765166cdb1566020625bfa /src/arch/x86/cpuid.cc | |
parent | 481eb6ae8018d0478c23fda7c5f9f3fa4db8de89 (diff) | |
download | gem5-27b7b9e561000ce7712e6d7a28102b711cefa8a2.tar.xz |
config: Fix checkpoint restore in C++ config example
This patch fixes the checkpoint restore option in the example of C++
configuration (util/cxx_config).
The fix introduces a call to config_manager->startup() (which calls startup
on all SimObjects managed by that manager) to replicate the loop of
SimObject::startup calls in src/python/m5/simulate.py::simulate guarded by
need_startup. As util/cxx_config/main.cc is a C++ analogue of
src/python/mt/simulate.py, it should make a similar set of calls.
Diffstat (limited to 'src/arch/x86/cpuid.cc')
0 files changed, 0 insertions, 0 deletions