43d42
< #include "sim/param.hh"
60,63d58
< bool doStatisticsInsts;
< bool doCheckpointInsts;
< bool doQuiesce;
<
74c69
< if (!doQuiesce)
---
> if (!tc->getCpuPtr()->params->do_quiesce)
87c82
< if (!doQuiesce || ns == 0)
---
> if (!tc->getCpuPtr()->params->do_quiesce || ns == 0)
110c105
< if (!doQuiesce || cycles == 0)
---
> if (!tc->getCpuPtr()->params->do_quiesce || cycles == 0)
200c195
< if (!doStatisticsInsts)
---
> if (!tc->getCpuPtr()->params->do_statistics_insts)
214c209
< if (!doStatisticsInsts)
---
> if (!tc->getCpuPtr()->params->do_statistics_insts)
255c250
< if (!doStatisticsInsts)
---
> if (!tc->getCpuPtr()->params->do_statistics_insts)
269c264
< if (!doCheckpointInsts)
---
> if (!tc->getCpuPtr()->params->do_checkpoint_insts)
281c276
< const string &file = tc->getCpuPtr()->system->params()->readfile;
---
> const string &file = tc->getSystemPtr()->params()->readfile;
313,339d307
< class Context : public ParamContext
< {
< public:
< Context(const string &section) : ParamContext(section) {}
< void checkParams();
< };
<
< Context context("pseudo_inst");
<
< Param<bool> __quiesce(&context, "quiesce",
< "enable quiesce instructions",
< true);
< Param<bool> __statistics(&context, "statistics",
< "enable statistics pseudo instructions",
< true);
< Param<bool> __checkpoint(&context, "checkpoint",
< "enable checkpoint pseudo instructions",
< true);
<
< void
< Context::checkParams()
< {
< doQuiesce = __quiesce;
< doStatisticsInsts = __statistics;
< doCheckpointInsts = __checkpoint;
< }
<